mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 20:16:22 +00:00
New tests and new configuration for tests.
This commit is contained in:
26
tests/unit/BudgetTest.php
Normal file
26
tests/unit/BudgetTest.php
Normal 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);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user