summaryrefslogtreecommitdiffstats
path: root/tests/unit/articleenhancer/EnhancerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/articleenhancer/EnhancerTest.php')
-rw-r--r--tests/unit/articleenhancer/EnhancerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/articleenhancer/EnhancerTest.php b/tests/unit/articleenhancer/EnhancerTest.php
index 5c54816a8..4a72e19a8 100644
--- a/tests/unit/articleenhancer/EnhancerTest.php
+++ b/tests/unit/articleenhancer/EnhancerTest.php
@@ -37,14 +37,14 @@ class EnhancerTest extends \PHPUnit_Framework_TestCase {
public function testEnhanceSetsCorrectHash(){
$item = new Item();
$item->setUrl('hi');
- $urls = array(
+ $urls = [
'https://test.com',
'https://www.test.com',
'https://test.com/',
'http://test.com',
'http://test.com/',
'http://www.test.com'
- );
+ ];
for ($i=0; $i < count($urls); $i++) {
$this->articleEnhancer->expects($this->at($i))
->method('enhance')