Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Fix wrong type #578

Merged
merged 2 commits into from
Apr 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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