diff --git a/test/php/library/Icinga/Web/UrlTest.php b/test/php/library/Icinga/Web/UrlTest.php index 4975199e6..31c790c99 100644 --- a/test/php/library/Icinga/Web/UrlTest.php +++ b/test/php/library/Icinga/Web/UrlTest.php @@ -392,14 +392,14 @@ class UrlTest extends BaseTestCase } /** - * @depends testWhetherGetAbsoluteUrlReturnsTheAbsoluteUrlForHtmlAttributes + * @depends testWhetherGetAbsoluteUrlReturnsTheAbsoluteUrl */ - public function testWhetherToStringConversionReturnsTheAbsoluteUrlForHtmlAttribures() + public function testWhetherToStringConversionReturnsTheAbsoluteUrlForHtmlAttributes() { $url = Url::fromPath('/my/test/url.html?param=val¶m2=val2¶m3=val3'); $this->assertEquals( - 'my/test/url.html?param=val&param2=val2&param3=val3', + '/my/test/url.html?param=val&param2=val2&param3=val3', (string) $url, 'Converting a url to string does not return the absolute url' );