We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit 43ea8433 authored by Ivan Chepurnyi's avatar Ivan Chepurnyi

Fix issue with version number that is larger than expected.

parent afa72920
......@@ -272,6 +272,7 @@ class EcomDev_PHPUnit_Constraint_Config_Resource_Script
if ($to !== null && version_compare($latestVersionFound, $to) === -1) {
$expectedVersions[] = sprintf('%supgrade-%s-%s.php', $scriptPrefix, $latestVersionFound, $to);
} elseif ($to !== null && version_compare($latestVersionFound, $to) === 1 && $expectedVersions) {
array_pop($actualVersions);
array_pop($expectedVersions);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment