Removed the same wrong assumption from LotGDTestCase, too.
This commit is contained in:
@@ -156,7 +156,7 @@ class LotGDTestCase extends TestCase
|
||||
}
|
||||
|
||||
# Using KNF, !A or B is only false if A is true and B is not.
|
||||
if ($action->$methodToCheck() == $valueToHave and (!is_null($groupTitle) or $group->getTitle() === $groupTitle)) {
|
||||
if ($action->$methodToCheck() == $valueToHave and (is_null($groupTitle) or $group->getTitle() === $groupTitle)) {
|
||||
$found = $action;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user