mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-14 08:11:20 +00:00
Fix tests.
This commit is contained in:
@@ -97,6 +97,7 @@ class StageNewHandlerTest extends TestCase
|
||||
'balance' => null,
|
||||
'status' => null,
|
||||
'type' => 'MonetaryAccountBank',
|
||||
'iban' => 'SM72C9584723533916792029340',
|
||||
'aliases' => [
|
||||
[
|
||||
'name' => $alias->getName(),
|
||||
@@ -124,8 +125,8 @@ class StageNewHandlerTest extends TestCase
|
||||
$repository->shouldReceive('setUser')->once();
|
||||
$mAccount->shouldReceive('listing')->andReturn($list)->once();
|
||||
$repository->shouldReceive('getConfiguration')->once()->andReturn([]);
|
||||
$repository->shouldReceive('setConfiguration')->once()->withArgs([Mockery::any(), $expectedConfig]);
|
||||
|
||||
$repository->shouldReceive('setConfiguration')->once()->withArgs([Mockery::any(), $expectedConfig]);
|
||||
|
||||
$handler = new StageNewHandler;
|
||||
$handler->setImportJob($job);
|
||||
|
Reference in New Issue
Block a user