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

@@ -74,6 +74,9 @@ class IndexControllerTest extends TestCase
Steam::shouldReceive('balancesByAccounts')->andReturn([$account->id => '100']);
Steam::shouldReceive('getLastActivities')->andReturn([]);
$repository->shouldReceive('getMetaValue')->withArgs([Mockery::any(), 'interest'])->andReturn('1');
$repository->shouldReceive('getMetaValue')->withArgs([Mockery::any(), 'interest_period'])->andReturn('monthly');
$repository->shouldReceive('getMetaValue')->withArgs([Mockery::any(), 'accountNumber'])->andReturn('123');
$this->be($this->user());