Skip to content

Commit

Permalink
kill mutant
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Apr 16, 2024
1 parent 1ccd6a3 commit c09b492
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Connector/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ public function testFilteredQuery(): void

public function testServerError(): void
{
$response = new Response(500);
$response = new Response(500, ['X-Request-Id' => 'v-918d0182-f8f6-11ee-ac5b-9f3072a91621']);
$client = $this->getMockClient($response);

$code = new Code($client);
$this->expectException(RuntimeException::class);
$this->expectExceptionMessage('Cloud API internal server error. Status 500. Request ID');
$this->expectExceptionMessage('Cloud API internal server error. Status 500. Request ID v-918d0182-f8f6-11ee-ac5b-9f3072a91621');
$code->getAll('8ff6c046-ec64-4ce4-bea6-27845ec18600');
}

Expand Down

0 comments on commit c09b492

Please sign in to comment.