mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Revert sites test relaxation tied to template path stripping
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
9ca29c17cb
commit
f22c7425f7
1 file changed
+3
-3
@@ -2274,7 +2274,7 @@ class SitesCustomServerTest extends Scope
|
||||
$deployment = $this->createTemplateDeployment($siteId, [
|
||||
'repository' => $template['providerRepositoryId'],
|
||||
'owner' => $template['providerOwner'],
|
||||
'rootDirectory' => $template['frameworks'][0]['providerRootDirectory'],
|
||||
'rootDirectory' => \ltrim($template['frameworks'][0]['providerRootDirectory'], './'),
|
||||
'type' => 'tag',
|
||||
'reference' => $template['providerVersion'],
|
||||
'activate' => true
|
||||
@@ -2345,7 +2345,7 @@ class SitesCustomServerTest extends Scope
|
||||
$deployment = $this->createTemplateDeployment($siteId, [
|
||||
'repository' => $template['providerRepositoryId'],
|
||||
'owner' => $template['providerOwner'],
|
||||
'rootDirectory' => $template['frameworks'][0]['providerRootDirectory'],
|
||||
'rootDirectory' => \ltrim($template['frameworks'][0]['providerRootDirectory'], './'),
|
||||
'type' => 'branch',
|
||||
'reference' => 'main',
|
||||
'activate' => true
|
||||
@@ -2423,7 +2423,7 @@ class SitesCustomServerTest extends Scope
|
||||
$deployment = $this->createTemplateDeployment($siteId, [
|
||||
'repository' => $template['providerRepositoryId'],
|
||||
'owner' => $template['providerOwner'],
|
||||
'rootDirectory' => $template['frameworks'][0]['providerRootDirectory'],
|
||||
'rootDirectory' => \ltrim($template['frameworks'][0]['providerRootDirectory'], './'),
|
||||
'type' => 'commit',
|
||||
'reference' => $latestCommit,
|
||||
'activate' => true
|
||||
|
||||
Reference in new issue
Block a user