Skip to content

Commit

Permalink
test: fix incorrect assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Oct 3, 2022
1 parent 9dd7e25 commit c42b1bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/system/Helpers/URLHelper/CurrentUrlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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()
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit c42b1bf

Please sign in to comment.