mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
another test fix
This commit is contained in:
@@ -2443,6 +2443,17 @@ class FunctionsCustomServerTest extends Scope
|
||||
$this->assertStringContainsString('The page will update after the build completes.', $response['body']);
|
||||
|
||||
// canceled deployment
|
||||
$functionId = $this->setupFunction([
|
||||
'functionId' => ID::unique(),
|
||||
'name' => 'Test Error Pages',
|
||||
'runtime' => 'node-22',
|
||||
'entrypoint' => 'index.js',
|
||||
'timeout' => 15,
|
||||
'commands' => 'cd non-existing-directory',
|
||||
'execute' => ['any']
|
||||
]);
|
||||
$domain = $this->setupFunctionDomain($functionId);
|
||||
$proxyClient->setEndpoint('http://' . $domain);
|
||||
$deployment = $this->createDeployment($functionId, [
|
||||
'code' => $this->packageFunction('basic'),
|
||||
'activate' => true
|
||||
|
||||
Reference in New Issue
Block a user