Skip to content

Commit

Permalink
Merge pull request #578 from tienvx/fix-wrong-type
Browse files Browse the repository at this point in the history
chore: Fix wrong type
  • Loading branch information
tienvx authored Apr 26, 2024
2 parents fb16ea6 + d6f7ef9 commit 214bf03
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ResponseDriverTest extends TestCase
private Interaction $interaction;
private int $responsePartId = 2;
private int $interactionHandle = 123;
private string $status = '400';
private int $status = 400;
/**
* @var array<string, string[]>
*/
Expand Down Expand Up @@ -53,7 +53,7 @@ public function testRegisterResponse(): void
['pactffi_with_header_v2', $this->interactionHandle, $this->responsePartId, 'header1', 0, 'header-value-1'],
['pactffi_with_header_v2', $this->interactionHandle, $this->responsePartId, 'header2', 0, 'header-value-2'],
['pactffi_with_header_v2', $this->interactionHandle, $this->responsePartId, 'header2', 1, 'header-value-3'],
['pactffi_response_status_v2', $this->interactionHandle, $this->status],
['pactffi_response_status_v2', $this->interactionHandle, (string) $this->status],
];
$matcher = $this->exactly(count($calls));
$this->client
Expand Down

0 comments on commit 214bf03

Please sign in to comment.