diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/features/bootstrap/FakeRecordingServer.php | 2 | ||||
-rw-r--r-- | tests/integration/features/bootstrap/RecordingTrait.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/features/bootstrap/FakeRecordingServer.php b/tests/integration/features/bootstrap/FakeRecordingServer.php index c26b9f8e3..5d8a1f6d2 100644 --- a/tests/integration/features/bootstrap/FakeRecordingServer.php +++ b/tests/integration/features/bootstrap/FakeRecordingServer.php @@ -63,7 +63,7 @@ if (preg_match('/\/api\/v1\/welcome/', $_SERVER['REQUEST_URI'])) { 'data' => $data, ]; file_put_contents($receivedRequestsFile, json_encode($receivedRequests)); -} elseif (preg_match('/requests/', $_SERVER['REQUEST_URI'])) { +} elseif (preg_match('/\/fake\/requests/', $_SERVER['REQUEST_URI'])) { if (!file_exists($receivedRequestsFile)) { return; } diff --git a/tests/integration/features/bootstrap/RecordingTrait.php b/tests/integration/features/bootstrap/RecordingTrait.php index 70e39f8c8..f2a1d9833 100644 --- a/tests/integration/features/bootstrap/RecordingTrait.php +++ b/tests/integration/features/bootstrap/RecordingTrait.php @@ -91,7 +91,7 @@ trait RecordingTrait { } private function getRecordingServerReceivedRequests() { - $url = 'http://' . $this->recordingServerAddress . '/requests'; + $url = 'http://' . $this->recordingServerAddress . '/fake/requests'; $client = new Client(); $response = $client->get($url); |