mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Added all the old test things.
This commit is contained in:
27
tests/unit/AccountTypeTest.php
Normal file
27
tests/unit/AccountTypeTest.php
Normal 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());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user