Skip to content

Commit 3fd5566

Browse files
committed
Refactoring code as asuggested.
1 parent a46c8fb commit 3fd5566

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/Test/Functional/Acceptance/ServicesCest.php

+13-13
Original file line numberDiff line numberDiff line change
@@ -90,50 +90,50 @@ protected function servicesDataProvider(): array
9090
'Default' => [
9191
'options' => '',
9292
'expectedResult' => [
93-
'redis:5.0',
93+
'redis:7.0',
9494
'magento/magento-cloud-docker-varnish:6.6-1.3',
9595
'magento/magento-cloud-docker-nginx:1.24-1.3',
9696
'magento/magento-cloud-docker-php:7.3-fpm-1.3',
9797
'magento/magento-cloud-docker-elasticsearch:6.5-1.3',
98-
'mariadb:10.2'
98+
'mariadb:10.4'
9999
],
100100
'notExpectedResult' => ['rabbitmq', 'selenium/standalone-chrome:latest', 'cron'],
101101
],
102-
'Redis 3.2, MariaDB 10.1, php 8.3, rmq 3.5' => [
103-
'options' => '--redis=3.2 --db=10.1 --php=8.3 --rmq=3.5',
102+
'Redis 6.0, MariaDB 10.4, php 8.3, rmq 3.8' => [
103+
'options' => '--redis=6.0 --db=10.4 --php=8.3 --rmq=3.8',
104104
'expectedResult' => [
105-
'redis:3.2',
105+
'redis:6.0',
106106
'magento/magento-cloud-docker-varnish:6.6-1.3',
107107
'magento/magento-cloud-docker-nginx:1.24-1.3',
108108
'magento/magento-cloud-docker-php:8.3-fpm-1.3',
109109
'magento/magento-cloud-docker-elasticsearch:6.5-1.3',
110-
'mariadb:10.1',
111-
'rabbitmq:3.5'
110+
'mariadb:10.4',
111+
'rabbitmq:3.8'
112112
],
113113
'notExpectedResult' => ['selenium', 'cron'],
114114
],
115-
'Redis 4.0, MariaDB 10.2, php 8.0, rmq 3.6' => [
116-
'options' => '--redis=4.0 --db=10.2 --php=8.0 --rmq=3.6',
115+
'Redis 7.0, MariaDB 10.4, php 8.0, rmq 3.8' => [
116+
'options' => '--redis=7.0 --db=10.4 --php=8.0 --rmq=3.8',
117117
'expectedResult' => [
118-
'redis:4.0',
118+
'redis:7.0',
119119
'magento/magento-cloud-docker-varnish:6.6-1.3',
120120
'magento/magento-cloud-docker-nginx:1.24-1.3',
121121
'magento/magento-cloud-docker-php:8.0-fpm-1.3',
122122
'magento/magento-cloud-docker-elasticsearch:6.5-1.3',
123123
'mariadb:10.2',
124-
'rabbitmq:3.6'
124+
'rabbitmq:3.8'
125125
],
126126
'notExpectedResult' => ['selenium', 'cron'],
127127
],
128128
'With cron and selenium' => [
129129
'options' => '--with-cron --with-selenium',
130130
'expectedResult' => [
131-
'redis:5.0',
131+
'redis:7.0',
132132
'magento/magento-cloud-docker-varnish:6.6-1.3',
133133
'magento/magento-cloud-docker-nginx:1.24-1.3',
134134
'magento/magento-cloud-docker-php:8.3-fpm-1.3',
135135
'magento/magento-cloud-docker-elasticsearch:6.5-1.3',
136-
'mariadb:10.2',
136+
'mariadb:10.4',
137137
'cron',
138138
'selenium/standalone-chrome:latest'
139139
],

0 commit comments

Comments
 (0)