mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Updated tests
This commit is contained in:
parent
86744a770d
commit
ecfa8a9c54
1 changed files with 2 additions and 2 deletions
|
|
@ -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']);
|
||||
|
|
|
|||
Loading…
Reference in a new issue