UrlTest: Fix method name and PSR issue

refs #12133
This commit is contained in:
Jennifer Mourek 2016-10-17 14:57:30 +02:00
parent d0b93b064c
commit 7df6e6cb63
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,8 @@ use Icinga\Test\BaseTestCase;
class UrlTest extends BaseTestCase
{
public function testWhetherGetAbsoluteUrlReturnsTestUrl(){
public function testWhetherGetAbsoluteUrlReturnsTheGivenUsernameAndPassword()
{
$url = Url::fromPath('http://testusername:testpassword@testsite.com/path/to/my/url.html');
$this->assertEquals(
'http://testusername:testpassword@testsite.com/path/to/my/url.html',