Skip to content

Commit 33b3566

Browse files
author
Volodymyr Kublytskyi
committed
2.2-develop branch should be counted as an actual branch because 2.3-develop is not released yet
1 parent d5805da commit 33b3566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/static/testsuite/Magento/Test/Legacy/ModuleDBChangeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public static function setUpBeforeClass()
5151
preg_match_all('|^(\d+\.\d+)|m', file_get_contents($branchesFile), $matches);
5252

5353
//check is this a latest release branch
54-
self::$actualBranch = ($branchName == max($matches[0]));
54+
self::$actualBranch = ($branchName >= max($matches[0]) - 0.1);
5555
}
5656
}
5757

0 commit comments

Comments
 (0)