firefly-iii/tests/unit/TransactionTypeTest.php
2015-01-01 13:43:34 +01:00

30 lines
493 B
PHP

<?php
use League\FactoryMuffin\Facade as f;
/**
* Class TransactionTypeTest
*/
class TransactionTypeTest extends TestCase
{
public function setUp()
{
parent::setUp();
}
public function tearDown()
{
parent::tearDown();
}
// tests
public function testJournals()
{
$journal = f::create('TransactionJournal');
$type = $journal->transactionType;
$this->assertCount(1, $type->transactionJournals()->get());
}
}