Skip to content

Commit

Permalink
Fix typo in property name
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytro-ch committed May 17, 2018
1 parent 5ed3aa3 commit f665db5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ControllerAclTest extends \PHPUnit\Framework\TestCase
*
* @var array
*/
private $whiteListetBackendControllers = [];
private $whiteListedBackendControllers = [];

/**
* List of ACL resources collected from acl.xml files.
Expand All @@ -57,7 +57,7 @@ protected function setUp()
if (substr($item, 0, 1) === '#') {
continue;
}
$this->whiteListetBackendControllers[$item] = 1;
$this->whiteListedBackendControllers[$item] = 1;
}
}

Expand All @@ -83,7 +83,7 @@ public function testAcl()

$controllerClass = $this->getClassByFilePath($controllerPath);
// skip whitelisted controllers.
if (isset($this->whiteListetBackendControllers[$controllerClass->getName()])) {
if (isset($this->whiteListedBackendControllers[$controllerClass->getName()])) {
continue;
}
// we don't have to check abstract classes.
Expand Down

0 comments on commit f665db5

Please sign in to comment.