Skip to content

Commit

Permalink
Remove unneeded test
Browse files Browse the repository at this point in the history
  • Loading branch information
Meldiron committed Jun 30, 2024
1 parent ab524d0 commit 9c04512
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 46 deletions.
18 changes: 0 additions & 18 deletions tests/ExecutorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -459,24 +459,6 @@ public function provideScenarios(): array
},
'mimeType' => 'multipart/form-data'
],
[
'image' => 'openruntimes/node:v4-21.0',
'entrypoint' => 'index.js',
'folder' => 'node-logs-fail',
'version' => 'v4',
'startCommand' => 'cp /tmp/code.tar.gz /mnt/code/code.tar.gz && nohup helpers/start.sh "pm2 start src/server.js --no-daemon"',
'buildCommand' => 'tar -zxf /tmp/code.tar.gz -C /mnt/code && helpers/build.sh "npm i"',
'assertions' => function ($response) {
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertEquals(500, $response['body']['statusCode']);
$this->assertGreaterThan(5 * 1024, strlen($response['body']['logs']));
$this->assertGreaterThan(0, strlen($response['body']['errors']));
},
'body' => function () {
return 1;
},
'mimeType' => 'multipart/form-data'
],
];
}

Expand Down
16 changes: 0 additions & 16 deletions tests/resources/functions/node-logs-fail/index.js

This file was deleted.

12 changes: 0 additions & 12 deletions tests/resources/functions/node-logs-fail/package.json

This file was deleted.

0 comments on commit 9c04512

Please sign in to comment.