attempt to fix integration tests

This commit is contained in:
Matthew Penner
2021-01-15 18:59:16 -07:00
parent 130c63a181
commit c59604c345
2 changed files with 11 additions and 4 deletions

View File

@@ -65,7 +65,7 @@ class ServerDeletionServiceTest extends IntegrationTestCase
$this->expectException(DaemonConnectionException::class);
$this->daemonServerRepository->expects('setServer->delete')->withNoArgs()->andThrows(
new DaemonConnectionException(new BadResponseException('Bad request', new Request('GET', '/test'), null))
new DaemonConnectionException(new BadResponseException('Bad request', new Request('GET', '/test'), new Response(404)))
);
$this->getService()->handle($server);