diff --git a/tests/system/Helpers/URLHelper/CurrentUrlTest.php b/tests/system/Helpers/URLHelper/CurrentUrlTest.php index 0f316a305988..f0bc53a18446 100644 --- a/tests/system/Helpers/URLHelper/CurrentUrlTest.php +++ b/tests/system/Helpers/URLHelper/CurrentUrlTest.php @@ -145,7 +145,7 @@ public function testUriStringAbsolute() Services::injectMock('request', $request); - $this->assertSame('/assets/image.jpg', uri_string()); + $this->assertSame('assets/image.jpg', uri_string()); } public function testUriStringRelative() @@ -172,7 +172,7 @@ public function testUriStringNoTrailingSlashAbsolute() Services::injectMock('request', $request); - $this->assertSame('/assets/image.jpg', uri_string()); + $this->assertSame('assets/image.jpg', uri_string()); } public function testUriStringNoTrailingSlashRelative() @@ -220,7 +220,7 @@ public function testUriStringSubfolderAbsolute() Services::injectMock('request', $request); - $this->assertSame('/subfolder/assets/image.jpg', uri_string()); + $this->assertSame('subfolder/assets/image.jpg', uri_string()); } public function testUriStringSubfolderRelative()