diff --git a/app/config/collections2.php b/app/config/collections2.php index e6b2609d2..d1e5539dd 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 55be01e8e..19ecb04de 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, ]);