diff --git a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php index 15e35a8cfb..4bd5d1ee5a 100644 --- a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php +++ b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php @@ -613,8 +613,8 @@ class FunctionsCustomServerTest extends Scope $fileId = $file['body']['$id'] ?? ''; foreach ($functions as $key => $env) { - $name = $key ?? ''; - $language = $env['name'] ?? ''; + $name = $env['name'] ?? ''; + $language = $env['language'] ?? ''; $version = $env['version'] ?? ''; $code = $env['code'] ?? ''; $command = $env['command'] ?? '';