From 4292e8d9bb316c71952f693fc32af7b55d1d91f5 Mon Sep 17 00:00:00 2001 From: Lars Moelleken Date: Tue, 17 May 2016 18:50:15 -0400 Subject: [PATCH] Applied fixes from StyleCI --- tests/Purl/Test/UrlTest.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/Purl/Test/UrlTest.php b/tests/Purl/Test/UrlTest.php index bae078e..de1b6a0 100644 --- a/tests/Purl/Test/UrlTest.php +++ b/tests/Purl/Test/UrlTest.php @@ -322,25 +322,25 @@ public function testFromCurrentServerVariables() { self::assertEquals('http://user:passwd123@jwage.com/', (string) $url); } - public function testRelativeUrl() + public function testRelativeUrl() { // test all resource parts - $url = new Url("/path1/path2?x=1&y=2#frag"); - self::assertFalse($url->isAbsolute()); - self::assertEquals("/path1/path2?x=1&y=2#frag",(string)$url); + $url = new Url('/path1/path2?x=1&y=2#frag'); + self::assertFalse($url->isAbsolute()); + self::assertEquals('/path1/path2?x=1&y=2#frag', (string)$url); - // test base path - $url = new Url("/path1"); - self::assertEquals("/path1",(string)$url); + // test base path + $url = new Url('/path1'); + self::assertEquals('/path1', (string)$url); // test minimal path - $url = new Url("/"); - self::assertEquals("/",(string)$url); + $url = new Url('/'); + self::assertEquals('/', (string)$url); // test feature request $url = new Url('/events'); $url->query->set('param1', 'value1'); - self::assertEquals("/events?param1=value1",(string)$url); + self::assertEquals('/events?param1=value1', (string)$url); } }