Update tests

This commit is contained in:
James Cole
2018-08-05 20:42:45 +02:00
parent 33294dd9f0
commit 049c93465a
10 changed files with 48 additions and 52 deletions

View File

@@ -67,6 +67,8 @@ class TransactionJournalFactoryTest extends TestCase
$typeFactory->shouldReceive('find')->andReturn($type);
$currencyRepos->shouldReceive('find')->andReturn($euro);
$metaFactory->shouldReceive('updateOrCreate');
// mock factories:
$transactionFactory->shouldReceive('setUser')->once();
$billFactory->shouldReceive('setUser')->once();