From 5c6d17bd873b82604412622ab5985b032c2c97a7 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Sat, 17 Apr 2021 00:25:25 +0300 Subject: [PATCH] Fixed tests --- tests/e2e/Services/Functions/FunctionsCustomServerTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php index a6cc1e5bd5..15e35a8cfb 100644 --- a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php +++ b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php @@ -457,7 +457,6 @@ class FunctionsCustomServerTest extends Scope $functionsDir = realpath(__DIR__ . '/../../../resources/functions'); $envs = require('app/config/environments.php'); - /** * Command for rebuilding code packages: * bash tests/resources/functions/package-*.sh @@ -613,7 +612,7 @@ class FunctionsCustomServerTest extends Scope $fileId = $file['body']['$id'] ?? ''; - foreach ($envs as $key => $env) { + foreach ($functions as $key => $env) { $name = $key ?? ''; $language = $env['name'] ?? ''; $version = $env['version'] ?? '';