Skip to content

Commit

Permalink
fix: fix unit tests (dvsa/olcs-internal#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLicense authored Feb 7, 2024
1 parent 1950697 commit c57e2c6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ public function testInvoke()
$mockSl->shouldReceive('get')->with('QueryService')->andReturn($mockQueryService);
$mockSl->shouldReceive('get')->with(MarkerService::class)->andReturn($mockMarkerService);
$mockSl->shouldReceive('get')->with('Common\Service\Data\Application')->andReturn($mockApplicationService);
$mockSl->shouldReceive('get')->with('DataServiceManager')->andReturnSelf();

$sut = new Application();
$service = $sut->__invoke($mockSl, Application::class);
Expand Down

0 comments on commit c57e2c6

Please sign in to comment.