Skip to content

Commit 12ec473

Browse files
committed
Use constants instead of hardcoded
1 parent 939e57c commit 12ec473

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Integration/NotMatchedRequestTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ protected function tearDown(): void
3636
public function testActivateNotMatchedRequestCreateExpectation()
3737
{
3838
$this->initialize(NotMatchedRequest::ENABLED);
39-
$this->sot->seeMockRequestWasNotCalled('not-matched-request');
39+
$this->sot->seeMockRequestWasNotCalled(MockServerHelper::NOT_MATCHED_REQUEST_ID);
4040
}
4141

4242
public function testActivateNotMatchedRequestWasCreatedAndDeactivated()
4343
{
4444
$this->initialize(NotMatchedRequest::ENABLED);
4545
$this->sot->deactivateNotMatchedRequest();
4646
$this->client->request('GET', self::NOT_MATCHED_URI, ['http_errors' => false]);
47-
$this->sot->seeMockRequestWasNotCalled('not-matched-request');
47+
$this->sot->seeMockRequestWasNotCalled(MockServerHelper::NOT_MATCHED_REQUEST_ID);
4848
}
4949
}

0 commit comments

Comments
 (0)