File tree Expand file tree Collapse file tree 10 files changed +144
-15
lines changed
src/Test/Functional/Acceptance Expand file tree Collapse file tree 10 files changed +144
-15
lines changed Original file line number Diff line number Diff line change 2424 "codeception/module-db" : " ^1.0" ,
2525 "codeception/module-phpbrowser" : " ^1.0" ,
2626 "codeception/module-rest" : " ^1.2" ,
27- "consolidation/robo" : " ^1.2" ,
27+ "consolidation/robo" : " ^1.2 || ^2.0 " ,
2828 "phpmd/phpmd" : " @stable" ,
2929 "phpstan/phpstan" : " ^0.12" ,
3030 "phpunit/phpunit" : " ^8.5 || ^9.5" ,
Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ public function _before(\CliTester $I): void
3333 $ I ->cloneTemplateToWorkDir (static ::TEMPLATE_VERSION );
3434 $ I ->createAuthJson ();
3535 $ I ->createArtifactsDir ();
36- $ I ->createArtifactCurrentTestedCode ('docker ' , '1.3.1 ' );
36+ $ I ->createArtifactCurrentTestedCode ('docker ' , '1.3.5 ' );
3737 $ I ->addArtifactsRepoToComposer ();
38- $ I ->addDependencyToComposer ('magento/magento-cloud-docker ' , '1.3.1 ' );
38+ $ I ->addDependencyToComposer ('magento/magento-cloud-docker ' , '1.3.5 ' );
3939
4040 $ I ->addEceToolsGitRepoToComposer ();
4141 $ I ->addDependencyToComposer (
Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * Copyright © Magento, Inc. All rights reserved.
4+ * See COPYING.txt for license details.
5+ */
6+ declare (strict_types=1 );
7+
8+ namespace Magento \CloudDocker \Test \Functional \Acceptance ;
9+
10+ use Robo \Exception \TaskException ;
11+
12+ /**
13+ * @group php81
14+ */
15+ class Acceptance81Cest extends AcceptanceCest
16+ {
17+ /**
18+ * Template version for testing
19+ */
20+ protected const TEMPLATE_VERSION = '2.4.4 ' ;
21+ }
Original file line number Diff line number Diff line change 1010use Robo \Exception \TaskException ;
1111
1212/**
13- * @group php81
13+ * @group php82
1414 */
1515class AcceptanceCest extends AbstractCest
1616{
1717 /**
1818 * Template version for testing
1919 */
20- protected const TEMPLATE_VERSION = '2.4.4 ' ;
20+ protected const TEMPLATE_VERSION = '2.4.6 ' ;
2121
2222 /**
2323 * @param \CliTester $I
Original file line number Diff line number Diff line change 1010use CliTester ;
1111
1212/**
13- * @group php81
13+ * @group php82
1414 */
1515class DeveloperCest extends AbstractCest
1616{
1717 /**
1818 * Template version for testing
1919 */
20- protected const TEMPLATE_VERSION = '2.4.4 ' ;
20+ protected const TEMPLATE_VERSION = '2.4.6 ' ;
2121
2222 /**
2323 * Tests that php settings contains configuration from php.dev.ini
Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * Copyright © Magento, Inc. All rights reserved.
4+ * See COPYING.txt for license details.
5+ */
6+ declare (strict_types=1 );
7+
8+ namespace Magento \CloudDocker \Test \Functional \Acceptance ;
9+
10+ use CliTester ;
11+ use Codeception \Example ;
12+ use Robo \Exception \TaskException ;
13+
14+ /**
15+ * @group php81
16+ */
17+ class Elasticsearch81Cest extends ElasticsearchCest
18+ {
19+ /**
20+ * Template version for testing
21+ */
22+ protected const TEMPLATE_VERSION = '2.4.4 ' ;
23+
24+ /**
25+ * @return array
26+ */
27+ protected function dataProvider (): array
28+ {
29+ return [
30+ [
31+ 'version ' => '7.6 ' ,
32+ 'xms ' => '520m ' ,
33+ 'xmx ' => '520m ' ,
34+ 'plugins ' => ['analysis-nori ' ],
35+ 'param ' => [
36+ 'key ' => 'node.store.allow_mmap ' ,
37+ 'value ' => 'false ' ,
38+ 'needle ' => '"store":{"allow_mmap":"false"} ' ,
39+ ]
40+ ],
41+ ];
42+ }
43+ }
Original file line number Diff line number Diff line change 1212use Robo \Exception \TaskException ;
1313
1414/**
15- * @group php81
15+ * @group php82
1616 */
1717class ElasticsearchCest extends AbstractCest
1818{
1919 /**
2020 * Template version for testing
2121 */
22- protected const TEMPLATE_VERSION = '2.4.4 ' ;
22+ protected const TEMPLATE_VERSION = '2.4.6 ' ;
2323
2424 /**
2525 * @param CliTester $I
@@ -81,7 +81,7 @@ protected function dataProvider(): array
8181 {
8282 return [
8383 [
84- 'version ' => '7.6 ' ,
84+ 'version ' => '7.10 ' ,
8585 'xms ' => '520m ' ,
8686 'xmx ' => '520m ' ,
8787 'plugins ' => ['analysis-nori ' ],
Original file line number Diff line number Diff line change 88namespace Magento \CloudDocker \Test \Functional \Acceptance ;
99
1010/**
11- * @group php81
11+ * @group php82
1212 */
1313class MailHogCest extends AbstractCest
1414{
1515 /**
1616 * Template version for testing
1717 */
18- protected const TEMPLATE_VERSION = '2.4.4 ' ;
18+ protected const TEMPLATE_VERSION = '2.4.6 ' ;
1919
2020 /**
2121 * @param \CliTester $I
Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * Copyright © Magento, Inc. All rights reserved.
4+ * See COPYING.txt for license details.
5+ */
6+ declare (strict_types=1 );
7+
8+ namespace Magento \CloudDocker \Test \Functional \Acceptance ;
9+
10+ use CliTester ;
11+ use Codeception \Example ;
12+ use Robo \Exception \TaskException ;
13+
14+ /**
15+ * @group php81
16+ */
17+ class Opensearch81Cest extends OpensearchCest
18+ {
19+ /**
20+ * Template version for testing
21+ */
22+ protected const TEMPLATE_VERSION = '2.4.4 ' ;
23+
24+ /**
25+ * @return array
26+ */
27+ protected function dataProvider (): array
28+ {
29+ return [
30+ [
31+ 'version ' => '1.1 ' ,
32+ 'xms ' => '520m ' ,
33+ 'xmx ' => '520m ' ,
34+ 'plugins ' => ['analysis-nori ' ],
35+ 'param ' => [
36+ 'key ' => 'node.store.allow_mmap ' ,
37+ 'value ' => 'false ' ,
38+ 'needle ' => '"store":{"allow_mmap":"false"} ' ,
39+ ]
40+ ],
41+ [
42+ 'version ' => '1.2 ' ,
43+ 'xms ' => '520m ' ,
44+ 'xmx ' => '520m ' ,
45+ 'plugins ' => ['analysis-nori ' ],
46+ 'param ' => [
47+ 'key ' => 'node.store.allow_mmap ' ,
48+ 'value ' => 'false ' ,
49+ 'needle ' => '"store":{"allow_mmap":"false"} ' ,
50+ ]
51+ ],
52+ ];
53+ }
54+ }
Original file line number Diff line number Diff line change 1212use Robo \Exception \TaskException ;
1313
1414/**
15- * @group php81
15+ * @group php82
1616 */
1717class OpensearchCest extends AbstractCest
1818{
1919 /**
2020 * Template version for testing
2121 */
22- protected const TEMPLATE_VERSION = '2.4.4 ' ;
22+ protected const TEMPLATE_VERSION = '2.4.6 ' ;
2323
2424 /**
2525 * @param CliTester $I
@@ -81,7 +81,18 @@ protected function dataProvider(): array
8181 {
8282 return [
8383 [
84- 'version ' => '1.2 ' ,
84+ 'version ' => '2.3 ' ,
85+ 'xms ' => '520m ' ,
86+ 'xmx ' => '520m ' ,
87+ 'plugins ' => ['analysis-nori ' ],
88+ 'param ' => [
89+ 'key ' => 'node.store.allow_mmap ' ,
90+ 'value ' => 'false ' ,
91+ 'needle ' => '"store":{"allow_mmap":"false"} ' ,
92+ ]
93+ ],
94+ [
95+ 'version ' => '2.4 ' ,
8596 'xms ' => '520m ' ,
8697 'xmx ' => '520m ' ,
8798 'plugins ' => ['analysis-nori ' ],
You can’t perform that action at this time.
0 commit comments