Skip to content

Commit 6b4f6e7

Browse files
committed
Update UriTest.php
1 parent 27000f2 commit 6b4f6e7

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

tests/UriTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,12 @@ public function testSplitURI_07() {
178178
$this->assertEquals('/{some-var}/{x}/{some-var}',$uriObj->getPath());
179179
$this->assertEquals(2,count($uriObj->getUriVars()));
180180
}
181+
/**
182+
* @test
183+
*/
184+
public function testSplitURI_08() {
185+
$uri = 'https://programmingacademia.com/Hello World';
186+
$uriObj = new Uri($uri, '');
187+
$this->assertEquals('/Hello World',$uriObj->getPath());
188+
}
181189
}

0 commit comments

Comments
 (0)