another test fix

This commit is contained in:
Hemachandar
2025-11-17 18:41:28 +05:30
parent d2000ee9d8
commit 3d69998f9c
@@ -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