Skip to content

Commit 8a66de5

Browse files
committed
test: fix incorrect test
One test one assertion.
1 parent 5593f8a commit 8a66de5

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎tests/system/HTTP/SiteURITest.php‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,7 @@ public function testGetSegmentOutOfRange()
219219
$uri = new SiteURI($config);
220220
$uri->setPath('test/method');
221221

222-
$this->assertSame('method', $uri->getSegment(2));
223-
$this->assertSame('', $uri->getSegment(3));
224-
225-
$uri->getSegment(4);
222+
$uri->getSegment(3);
226223
}
227224

228225
public function testGetTotalSegments()

0 commit comments

Comments
 (0)