1
0
Fork 0
mirror of synced 2024-06-02 19:04:49 +12:00

feat: address review comments

This commit is contained in:
Christy Jacob 2021-12-09 19:53:37 +04:00
parent 43ef3c060b
commit 653dfb292b
2 changed files with 1 additions and 2 deletions

View file

@ -133,7 +133,6 @@ App::get('/v1/functions/runtimes')
->inject('response')
->action(function ($response) {
/** @var Appwrite\Utopia\Response $response */
/** @var Utopia\Database\Database $dbForInternal */
$runtimes = Config::getParam('runtimes');

View file

@ -805,7 +805,7 @@ class FunctionsCustomServerTest extends Scope
], $this->getHeaders()));
$this->assertEquals(200, $runtimes['headers']['status-code']);
$this->assertEquals(12, $runtimes['body']['sum']);
$this->assertGreaterThan(0, $runtimes['body']['sum']);
$runtime = $runtimes['body']['runtimes'][0];