mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-06 22:23:48 -06:00
27 lines
445 B
PHP
27 lines
445 B
PHP
|
<?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());
|
||
|
}
|
||
|
|
||
|
}
|