diff options
Diffstat (limited to 'test/ReadabilityTest.php')
-rw-r--r-- | test/ReadabilityTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ReadabilityTest.php b/test/ReadabilityTest.php index 95ad318..97ba141 100644 --- a/test/ReadabilityTest.php +++ b/test/ReadabilityTest.php @@ -59,7 +59,7 @@ class ReadabilityTest extends \PHPUnit\Framework\TestCase $readability = new Readability($configuration); $readability->parse($html); - $this->assertSame($expectedImages, json_encode($readability->getImages())); + $this->assertSame(json_decode($expectedImages, true), $readability->getImages()); } public function getSamplePages() |