X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=phpunit%2FUrlTest.php;h=dcf3b4fdd2533db26be145c3c874fdd1b9b2ab15;hp=50fa2ff2f0605ae7a9f9a9b6d907804dbdf0c540;hb=47be714b40e14b6b5cdc2f35a7994efd13c2076e;hpb=58410541834f8f897291c290d38e7a505dbb93c1 diff --git a/phpunit/UrlTest.php b/phpunit/UrlTest.php index 50fa2ff..dcf3b4f 100644 --- a/phpunit/UrlTest.php +++ b/phpunit/UrlTest.php @@ -43,6 +43,7 @@ class UrlTest extends PHPUnit_Framework_TestCase { function testArrays() { $url = new http\Url($this->url); - $this->assertEquals($url->toArray(), (new http\Url($url->toArray()))->toArray()); + $url2 = new http\Url($url->toArray()); + $this->assertEquals($url->toArray(), $url2->toArray()); } }