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:
loks0nandClaude Opus 4.7 committed 2026-06-01 12:02:02 +01:00
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