diff --git a/tests/e2e/Services/Functions/FunctionsBase.php b/tests/e2e/Services/Functions/FunctionsBase.php index fab6bd4027..bbdcbf3d67 100644 --- a/tests/e2e/Services/Functions/FunctionsBase.php +++ b/tests/e2e/Services/Functions/FunctionsBase.php @@ -266,7 +266,7 @@ trait FunctionsBase 'content-type' => 'application/json', 'x-appwrite-project' => $this->getProject()['$id'], ], $this->getHeaders()), [ - 'domain' => $subdomain . System::getEnv('_APP_DOMAIN_FUNCTIONS', ''), + 'domain' => $subdomain . '.' . System::getEnv('_APP_DOMAIN_FUNCTIONS', ''), 'resourceType' => 'function', 'resourceId' => $functionId, ]); diff --git a/tests/e2e/Services/Sites/SitesBase.php b/tests/e2e/Services/Sites/SitesBase.php index 371e36955e..72448898f5 100644 --- a/tests/e2e/Services/Sites/SitesBase.php +++ b/tests/e2e/Services/Sites/SitesBase.php @@ -276,7 +276,7 @@ trait SitesBase 'content-type' => 'application/json', 'x-appwrite-project' => $this->getProject()['$id'], ], $this->getHeaders()), [ - 'domain' => $subdomain . System::getEnv('_APP_DOMAIN_SITES', ''), + 'domain' => $subdomain . '.' . System::getEnv('_APP_DOMAIN_SITES', ''), 'resourceType' => 'site', 'resourceId' => $siteId, ]);