Removed the same wrong assumption from LotGDTestCase, too.

This commit is contained in:
Vassyli
2021-02-04 15:24:28 +01:00
committed by Basilius Sauter
parent 99d554e5d7
commit d83e437b4a
+1 -1
View File
@@ -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;
}
}