mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-26 03:09:10 +02:00
parent
d0b93b064c
commit
7df6e6cb63
@ -9,7 +9,8 @@ use Icinga\Test\BaseTestCase;
|
|||||||
|
|
||||||
class UrlTest extends BaseTestCase
|
class UrlTest extends BaseTestCase
|
||||||
{
|
{
|
||||||
public function testWhetherGetAbsoluteUrlReturnsTestUrl(){
|
public function testWhetherGetAbsoluteUrlReturnsTheGivenUsernameAndPassword()
|
||||||
|
{
|
||||||
$url = Url::fromPath('http://testusername:testpassword@testsite.com/path/to/my/url.html');
|
$url = Url::fromPath('http://testusername:testpassword@testsite.com/path/to/my/url.html');
|
||||||
$this->assertEquals(
|
$this->assertEquals(
|
||||||
'http://testusername:testpassword@testsite.com/path/to/my/url.html',
|
'http://testusername:testpassword@testsite.com/path/to/my/url.html',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user