Replace alias functions with origin functions

This commit is contained in:
Kleis Auke Wolthuizen
2017-11-21 17:41:21 +01:00
parent 90eaea7be2
commit ee4a42ea06
6 changed files with 7 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ class PageRulesTargetTest extends TestCase
$targets = new PageRulesTargets('junade.com/*');
$array = $targets->getArray();
$this->assertEquals(1, sizeof($array));
$this->assertEquals(1, count($array));
$this->assertEquals('junade.com/*', $array[0]->constraint->value);
$this->assertEquals('matches', $array[0]->constraint->operator);
}