summaryrefslogtreecommitdiff
path: root/test/ReadabilityTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'test/ReadabilityTest.php')
-rw-r--r--test/ReadabilityTest.php4
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());
}