mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Updated tests
This commit is contained in:
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user