public function testGetForRelativePathWithOnlySlash() { $url = new Ergo_Http_Url('http://example.org/test'); $relative = $url->getUrlForRelativePath('/'); $this->assertEqual($relative->__toString(), 'http://example.org/test'); }
public function testGetForRelativePathWithOnlySlash() { $url = new Ergo_Http_Url('http://example.org/test'); $relative = $url->getUrlForRelativePath('/'); $this->assertEqual($relative->__toString(), 'http://example.org/test'); }