Skip to content

Commit 6445f4d

Browse files
committed
check for 404
1 parent a9d4349 commit 6445f4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ExecutorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ public function testExecute(): void
550550
/** Execute HEAD request */
551551
$response = $this->client->call(Client::METHOD_HEAD, '/runtimes/test-exec-coldstart/executions');
552552

553-
$this->assertEquals(200, $response['headers']['status-code']);
553+
$this->assertEquals(404, $response['headers']['status-code']); // not found
554554
// For HEAD requests, the body should be empty but headers should be present
555555
$this->assertEmpty($response['body']);
556556
$this->assertArrayHasKey('content-type', $response['headers']);

0 commit comments

Comments
 (0)