Fix tests.

This commit is contained in:
James Cole
2019-08-12 17:36:37 +02:00
parent 76dad84ba6
commit 893c83e086
3 changed files with 18 additions and 19 deletions

View File

@@ -121,7 +121,7 @@ class ReconcileControllerTest extends TestCase
$fiscalHelper->shouldReceive('endOfFiscalYear')->atLeast()->once()->andReturn($date);
$fiscalHelper->shouldReceive('startOfFiscalYear')->atLeast()->once()->andReturn($date);
$accountRepos->shouldReceive('getMetaValue')->withArgs([Mockery::any(), 'currency_id'])->andReturn('1')->atLeast()->once();
//$accountRepos->shouldReceive('getAccountCurrency')->atLeast()->once()->andReturn($euro);
$collector->shouldReceive('setAccounts')->atLeast()->once()->andReturnSelf();