diff --git a/app/views/install/compose.phtml b/app/views/install/compose.phtml
index 14d7ac15bc..a79ebfcc52 100644
--- a/app/views/install/compose.phtml
+++ b/app/views/install/compose.phtml
@@ -475,6 +475,8 @@ $image = $this->getParam('image', '');
- _APP_ENV
- _APP_WORKER_PER_CORE
- _APP_OPENSSL_KEY_V1
+ - _APP_DOMAIN
+ - _APP_OPTIONS_FORCE_HTTPS
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
diff --git a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php
index 925bda5281..e6908efc43 100644
--- a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php
+++ b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php
@@ -2064,8 +2064,33 @@ class FunctionsCustomServerTest extends Scope
$this->assertEquals(201, $execution['headers']['status-code']);
$this->assertEquals('completed', $execution['body']['status']);
$this->assertEquals(200, $execution['body']['responseStatusCode']);
- $this->assertNotEmpty($execution['body']['responseBody']);
$this->assertGreaterThan(0, $execution['body']['duration']);
+ $this->assertNotEmpty($execution['body']['responseBody']);
+ $this->assertStringContainsString("total", $execution['body']['responseBody']);
+
+ $execution = $this->client->call(Client::METHOD_POST, '/functions/' . $functionId . '/executions', array_merge([
+ 'content-type' => 'application/json',
+ 'x-appwrite-project' => $this->getProject()['$id'],
+ ], $this->getHeaders()), [
+ 'async' => true
+ ]);
+
+ $this->assertEquals(202, $execution['headers']['status-code']);
+ $this->assertNotEmpty($execution['body']['$id']);
+
+ \sleep(10);
+
+ $execution = $this->client->call(Client::METHOD_GET, '/functions/' . $functionId . '/executions/' . $execution['body']['$id'], array_merge([
+ 'content-type' => 'application/json',
+ 'x-appwrite-project' => $this->getProject()['$id'],
+ ], $this->getHeaders()), []);
+
+ $this->assertEquals(200, $execution['headers']['status-code']);
+ $this->assertEquals('completed', $execution['body']['status']);
+ $this->assertEquals(200, $execution['body']['responseStatusCode']);
+ $this->assertGreaterThan(0, $execution['body']['duration']);
+ $this->assertNotEmpty($execution['body']['logs']);
+ $this->assertStringContainsString("total", $execution['body']['logs']);
// Cleanup : Delete function
$response = $this->client->call(Client::METHOD_DELETE, '/functions/' . $functionId, [
diff --git a/tests/resources/functions/php-scopes/index.php b/tests/resources/functions/php-scopes/index.php
index e05653b709..905d924eb7 100644
--- a/tests/resources/functions/php-scopes/index.php
+++ b/tests/resources/functions/php-scopes/index.php
@@ -12,5 +12,7 @@ return function ($context) {
->setProject(getenv('APPWRITE_FUNCTION_PROJECT_ID'))
->setKey($context->req->headers['x-appwrite-key']);
$users = new Users($client);
- return $context->res->json($users->list());
+ $response = $users->list();
+ $context->log($response);
+ return $context->res->json($response);
};