예제 #1
0
파일: UrlTest.php 프로젝트: snikch/ergo
 public function testGetForRelativePathWithOnlySlash()
 {
     $url = new Ergo_Http_Url('http://example.org/test');
     $relative = $url->getUrlForRelativePath('/');
     $this->assertEqual($relative->__toString(), 'http://example.org/test');
 }