diff --git a/app/controllers/api/functions.php b/app/controllers/api/functions.php index 7d7d3537be..76c9ef47ba 100644 --- a/app/controllers/api/functions.php +++ b/app/controllers/api/functions.php @@ -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'); diff --git a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php index e8541a2c54..c2452c08bd 100644 --- a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php +++ b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php @@ -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];