diff options
Diffstat (limited to 'tests/unit/articleenhancer/RegexArticleEnhancerTest.php')
-rw-r--r-- | tests/unit/articleenhancer/RegexArticleEnhancerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/articleenhancer/RegexArticleEnhancerTest.php b/tests/unit/articleenhancer/RegexArticleEnhancerTest.php index b88abc985..f464c9275 100644 --- a/tests/unit/articleenhancer/RegexArticleEnhancerTest.php +++ b/tests/unit/articleenhancer/RegexArticleEnhancerTest.php @@ -25,7 +25,7 @@ class RegexArticleEnhancerTest extends \PHPUnit_Framework_TestCase { $item = new Item(); $item->setBody('atests is a nice thing'); $item->setUrl('http://john.com'); - $regex = array("%tes(ts)%" => "heho$1tests"); + $regex = ["%tes(ts)%" => "heho$1tests"]; $regexEnhancer = new RegexArticleEnhancer('%john.com%', $regex); $item = $regexEnhancer->enhance($item); |