firefly-iii/tests/unit/TransactionTypeTest.php

31 lines
494 B
PHP
Raw Normal View History

2015-01-01 06:43:34 -06:00
<?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());
}
2015-01-01 23:16:49 -06:00
}