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…
Reference in New Issue