firefly-iii/tests/unit/AccountTypeTest.php
2015-01-02 06:16:49 +01:00

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());
}
}