mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-30 12:43:57 -06:00
31 lines
494 B
PHP
31 lines
494 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());
|
|
}
|
|
|
|
|
|
}
|