From ecfa8a9c540bbcd41ea1b311d3339ba08d74f2c8 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Sat, 1 Aug 2020 07:29:18 +0300 Subject: [PATCH] Updated 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 bba824d0d5..acdda8f74a 100644 --- a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php +++ b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php @@ -24,7 +24,7 @@ class FunctionsConsoleServerTest extends Scope 'x-appwrite-project' => $this->getProject()['$id'], ], $this->getHeaders()), [ 'name' => 'Test', - 'env' => 'node-14', + 'env' => 'php-7.4', 'vars' => [ 'key1' => 'value1', 'key2' => 'value2', @@ -43,7 +43,7 @@ class FunctionsConsoleServerTest extends Scope $this->assertEquals(201, $response1['headers']['status-code']); $this->assertNotEmpty($response1['body']['$id']); $this->assertEquals('Test', $response1['body']['name']); - $this->assertEquals('node-14', $response1['body']['env']); + $this->assertEquals('php-7.4', $response1['body']['env']); $this->assertIsInt($response1['body']['dateCreated']); $this->assertIsInt($response1['body']['dateUpdated']); $this->assertEquals('', $response1['body']['tag']);