Skip to content

Commit bdc515d

Browse files
author
Rykh Oleksandr
committed
MTA-3587: Empty testsuite after adding filter by variation
1 parent d146c7b commit bdc515d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Magento/Mtf/Util/Filter/VariationName.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class VariationName extends AbstractFilter implements FilterInterface
2626
*/
2727
public function apply($subject)
2828
{
29-
if (isset($this->allow)) {
29+
if ($this->allow) {
3030
foreach ($this->allow as $allow) {
3131
if ($allow['value'] == $subject) {
3232
return true;
@@ -35,7 +35,7 @@ public function apply($subject)
3535

3636
return false;
3737
}
38-
if (isset($this->deny)) {
38+
if ($this->deny) {
3939
foreach ($this->deny as $deny) {
4040
if ($deny['value'] == $subject) {
4141
return false;

0 commit comments

Comments
 (0)