Added all the old test things.

This commit is contained in:
James Cole
2015-02-07 08:42:20 +01:00
parent fb1c78c657
commit 2dc67d1674
45 changed files with 4254 additions and 13 deletions

View File

@@ -0,0 +1,27 @@
<?php
use League\FactoryMuffin\Facade as f;
/**
* Class AccountTypeTest
*/
class AccountTypeTest extends TestCase
{
public function setUp()
{
parent::setUp();
}
public function tearDown()
{
parent::tearDown();
}
// tests
public function testAccounts()
{
$account = f::create('Account');
$this->assertCount(1, $account->accountType()->first()->accounts()->get());
}
}