mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
UrlTest: Fix skipped test
This commit is contained in:
parent
d246f76268
commit
59cadde485
@ -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');
|
$url = Url::fromPath('/my/test/url.html?param=val¶m2=val2¶m3=val3');
|
||||||
|
|
||||||
$this->assertEquals(
|
$this->assertEquals(
|
||||||
'my/test/url.html?param=val&param2=val2&param3=val3',
|
'/my/test/url.html?param=val&param2=val2&param3=val3',
|
||||||
(string) $url,
|
(string) $url,
|
||||||
'Converting a url to string does not return the absolute url'
|
'Converting a url to string does not return the absolute url'
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user