mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-31 19:27:51 -06:00
28 lines
446 B
PHP
28 lines
446 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());
|
|
}
|
|
|
|
}
|