From 181fb05fd46bbd17dc98174f0aa4a17c8347c4b5 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Sat, 17 Apr 2021 01:10:27 +0300 Subject: [PATCH] Fixed tests --- tests/e2e/Services/Functions/FunctionsCustomServerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'] ?? '';