From 59cadde485a647a807954c5cc42bd247b99415a5 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 23 Jan 2017 14:59:58 +0100 Subject: [PATCH] UrlTest: Fix skipped test --- test/php/library/Icinga/Web/UrlTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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' );