New tests and new configuration for tests.

This commit is contained in:
James Cole
2015-01-01 12:33:07 +01:00
parent 8e892e7ea5
commit 584f7ced84
11 changed files with 118 additions and 19 deletions

26
tests/unit/BudgetTest.php Normal file
View File

@@ -0,0 +1,26 @@
<?php
use League\FactoryMuffin\Facade as f;
/**
* Class AccountTypeTest
*/
class BudgetTest extends TestCase
{
public function setUp()
{
parent::setUp();
}
public function tearDown()
{
parent::tearDown();
}
public function testUser()
{
$budget = f::create('Budget');
$this->assertInstanceOf('User', $budget->user);
}
}