From 760a0f9c7919fcffd69fd31355d3d85970d88cdb Mon Sep 17 00:00:00 2001 From: kodumbeats Date: Fri, 2 Jul 2021 16:39:53 -0400 Subject: [PATCH] Update env to runtime --- app/config/collections2.php | 2 +- tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/config/collections2.php b/app/config/collections2.php index e6b2609d2b..d1e5539dd1 100644 --- a/app/config/collections2.php +++ b/app/config/collections2.php @@ -759,7 +759,7 @@ $collections = [ 'filters' => [], ], [ - '$id' => 'env', + '$id' => 'runtime', 'type' => Database::VAR_STRING, 'format' => '', 'size' => 2048, diff --git a/tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php b/tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php index 55be01e8e2..19ecb04dee 100644 --- a/tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php +++ b/tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php @@ -264,8 +264,8 @@ class WebhooksCustomServerTest extends Scope 'x-appwrite-project' => $this->getProject()['$id'], ], $this->getHeaders()), [ 'name' => 'Test', - 'env' => 'php-8.0', - 'runtime' => ['role:all'], + 'execute' => ['role:all'], + 'runtime' => 'php-8.0', 'timeout' => 10, ]);