Skip to content

Commit 12b03ed

Browse files
authored
Merge pull request #182 from open-runtimes/rever-bad-test
revert: bad test
2 parents 85d3335 + 81030dc commit 12b03ed

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/ExecutorTest.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -511,14 +511,6 @@ public function testExecute(): void
511511
$this->assertEquals(200, $response['headers']['status-code']);
512512
$this->assertStringStartsWith('multipart/form-data', $response['headers']['content-type']);
513513

514-
/** Execute HEAD request */
515-
$response = $this->client->call(Client::METHOD_HEAD, '/runtimes/test-exec-coldstart/executions');
516-
517-
$this->assertEquals(404, $response['headers']['status-code']); // not found
518-
// For HEAD requests, the body should be empty but headers should be present
519-
$this->assertEmpty($response['body']);
520-
$this->assertArrayHasKey('content-type', $response['headers']);
521-
522514
/** Delete runtime */
523515
$response = $this->client->call(Client::METHOD_DELETE, '/runtimes/test-exec-coldstart', [], []);
524516
$this->assertEquals(200, $response['headers']['status-code']);

0 commit comments

Comments
 (0)