Fix tests.

This commit is contained in:
James Cole
2018-07-01 09:27:22 +02:00
parent 0502f2a4a5
commit db149ca6e1
50 changed files with 551 additions and 647 deletions

View File

@@ -97,6 +97,7 @@ class StageNewHandlerTest extends TestCase
// create new customer:
$ncRequest->shouldReceive('setUser')->once();
$ncRequest->shouldReceive('getCustomer')->once()->andReturn($fakeCustomer);
$ncRequest->shouldReceive('call')->once();
// mock calls for repository:
$repository->shouldReceive('setUser')->once();