Skip to content

Commit 65e2d7a

Browse files
authored
MCLOUD-6623: Remove ES 7.4 from service validator (magento#766)
1 parent 4ecd822 commit 65e2d7a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

codeception.dist.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ modules:
2424
composer_magento_username: "%REPO_USERNAME%"
2525
composer_magento_password: "%REPO_PASSWORD%"
2626
composer_github_token: "%GITHUB_TOKEN%"
27-
printOutput: true
27+
printOutput: false
2828
Magento\CloudDocker\Test\Functional\Codeception\Docker:
2929
system_magento_dir: "%Magento.docker.settings.system.magento_dir%"
30-
printOutput: true
30+
printOutput: false
3131
PhpBrowser:
3232
url: "%Magento.docker.settings.env.url.base%"
3333
Magento\CloudDocker\Test\Functional\Codeception\MagentoDb:

src/Service/Validator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ class Validator
4949
'<2.2.0' => '~1.7.0 || ~2.4.0',
5050
'>=2.2.0 <2.2.8 || 2.3.0' => '~1.7.0 || ~2.4.0 || ~5.2.0',
5151
'>=2.2.8 <2.3.0 || >=2.3.1 <2.3.5' => '~1.7.0 || ~2.4.0 || ~5.2.0 || ~6.5.0',
52-
'>=2.3.5 <2.4.0' => '~1.7.0 || ~2.4.0 || ~5.2.0 || ~6.5.0 || ~6.8.0|| ~7.4.0 || ~7.5.0 || ~7.6.0 || ~7.7.0',
53-
'>=2.4.0' => '~7.4.0 || ~7.5.0 || ~7.6.0 || ~7.7.0',
52+
'>=2.3.5 <2.4.0' => '~1.7.0 || ~2.4.0 || ~5.2.0 || ~6.5.0 || ~6.8.0 || ~7.5.0 || ~7.6.0 || ~7.7.0',
53+
'>=2.4.0' => '~7.5.0 || ~7.6.0 || ~7.7.0',
5454
],
5555
ServiceInterface::NAME_RABBITMQ => [
5656
'<2.3.0' => '~3.5.0',

src/Test/Unit/Service/ValidatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public function validateVersionsDataProvider(): array
175175
ServiceInterface::NAME_NGINX => '1.9',
176176
ServiceInterface::NAME_VARNISH => '6.2',
177177
ServiceInterface::NAME_REDIS => '5.0',
178-
ServiceInterface::NAME_ELASTICSEARCH => '7.4', // wrong
178+
ServiceInterface::NAME_ELASTICSEARCH => '7.5',
179179
ServiceInterface::NAME_RABBITMQ => '3.8'
180180
],
181181
0

0 commit comments

Comments
 (0)