diff --git a/tests/php/Publisher/FilesystemPublisherTest.php b/tests/php/Publisher/FilesystemPublisherTest.php index 734ba03..9d73539 100644 --- a/tests/php/Publisher/FilesystemPublisherTest.php +++ b/tests/php/Publisher/FilesystemPublisherTest.php @@ -285,7 +285,7 @@ public function testRedirectorPageWhenPHP(): void $redirectorPage = RedirectorPage::create(); $redirectorPage->URLSegment = 'somewhere-else'; $redirectorPage->RedirectionType = 'External'; - $redirectorPage->ExternalURL = 'silverstripe.org'; + $redirectorPage->ExternalURL = 'https://example.com/path'; $redirectorPage->write(); $redirectorPage->publishRecursive(); @@ -301,7 +301,7 @@ public function testRedirectorPageWhenPHP(): void $this->assertFileExists($this->fsp->getDestPath() . 'somewhere-else.php'); $phpCacheConfig = require $this->fsp->getDestPath() . 'somewhere-else.php'; $this->assertSame(301, $phpCacheConfig['responseCode']); - $this->assertContains('location: http://silverstripe.org', $phpCacheConfig['headers']); + $this->assertContains('location: https://example.com/path', $phpCacheConfig['headers']); } public function testRedirectorPageWhenHTMLOnly(): void