diff options
Diffstat (limited to 'test/ReadabilityTest.php')
-rw-r--r-- | test/ReadabilityTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ReadabilityTest.php b/test/ReadabilityTest.php index c505ae6..e074983 100644 --- a/test/ReadabilityTest.php +++ b/test/ReadabilityTest.php @@ -19,7 +19,7 @@ class ReadabilityTest extends \PHPUnit_Framework_TestCase 'ArticleByLine' => true ]; - if($config === null || $expectedMetadata === null){ + if ($config === null || $expectedMetadata === null) { $this->markTestSkipped('Wrong test configuration'); } @@ -39,7 +39,7 @@ class ReadabilityTest extends \PHPUnit_Framework_TestCase $this->assertEquals($expectedResult, $readability->getContent()); - foreach($expectedMetadata as $key => $metadata){ + foreach ($expectedMetadata as $key => $metadata) { $function = 'get' . $key; $this->assertEquals($metadata, $readability->$function()); } |