From c42b1bfc2670d598c6431e217fc0176efcf4ace9 Mon Sep 17 00:00:00 2001 From: kenjis Date: Mon, 3 Oct 2022 12:21:33 +0900 Subject: [PATCH] test: fix incorrect assertions --- tests/system/Helpers/URLHelper/CurrentUrlTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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()