File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -755,6 +755,7 @@ public function testEmptyQueryVars()
755755
756756 $ uri = new URI ($ base );
757757 $ uri ->setQuery ('foo=&bar=baz&baz=foz ' );
758+
758759 $ this ->assertSame ('http://example.com/foo?foo=&bar=baz&baz=foz ' , (string ) $ uri );
759760 }
760761
@@ -843,6 +844,7 @@ public function testSetSegmentFallback()
843844 public function testSetBadSegment ()
844845 {
845846 $ this ->expectException (HTTPException::class);
847+
846848 $ base = 'http://example.com/foo/bar/baz ' ;
847849
848850 $ uri = new URI ($ base );
@@ -854,6 +856,7 @@ public function testSetBadSegmentSilent()
854856 $ base = 'http://example.com/foo/bar/baz ' ;
855857 $ uri = new URI ($ base );
856858 $ segments = $ uri ->getSegments ();
859+
857860 $ uri ->setSilent ()->setSegment (6 , 'banana ' );
858861
859862 $ this ->assertSame ($ segments , $ uri ->getSegments ());
You can’t perform that action at this time.
0 commit comments