diff options
Diffstat (limited to 'vendor/fguillot/picofeed/tests/Client/CurlTest.php')
-rw-r--r-- | vendor/fguillot/picofeed/tests/Client/CurlTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/fguillot/picofeed/tests/Client/CurlTest.php b/vendor/fguillot/picofeed/tests/Client/CurlTest.php index a1410ce72..ec7b39894 100644 --- a/vendor/fguillot/picofeed/tests/Client/CurlTest.php +++ b/vendor/fguillot/picofeed/tests/Client/CurlTest.php @@ -47,8 +47,8 @@ class CurlTest extends PHPUnit_Framework_TestCase $this->assertTrue(is_array($result)); $this->assertEquals(200, $result['status']); $this->assertEquals('<!DOCTYPE', substr($result['body'], 0, 9)); - $this->assertEquals('text/html', $result['headers']['Content-Type']); - $this->assertEquals('http://www.01net.com/editorial/643722/android-google-now-s-ouvre-aux-applications-tierces/', str_replace('#?xtor=RSS-16', '', $client->getUrl())); + $this->assertEquals('text/html; charset=utf-8', $result['headers']['Content-Type']); + $this->assertEquals('http://www.01net.com/actualites/android-google-now-s-ouvre-aux-applications-tierces-643722.html', $client->getUrl()); } /** |