File tree 10 files changed +144
-15
lines changed
src/Test/Functional/Acceptance
10 files changed +144
-15
lines changed Original file line number Diff line number Diff line change 24
24
"codeception/module-db" : " ^1.0" ,
25
25
"codeception/module-phpbrowser" : " ^1.0" ,
26
26
"codeception/module-rest" : " ^1.2" ,
27
- "consolidation/robo" : " ^1.2" ,
27
+ "consolidation/robo" : " ^1.2 || ^2.0 " ,
28
28
"phpmd/phpmd" : " @stable" ,
29
29
"phpstan/phpstan" : " ^0.12" ,
30
30
"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
33
33
$ I ->cloneTemplateToWorkDir (static ::TEMPLATE_VERSION );
34
34
$ I ->createAuthJson ();
35
35
$ I ->createArtifactsDir ();
36
- $ I ->createArtifactCurrentTestedCode ('docker ' , '1.3.1 ' );
36
+ $ I ->createArtifactCurrentTestedCode ('docker ' , '1.3.5 ' );
37
37
$ I ->addArtifactsRepoToComposer ();
38
- $ I ->addDependencyToComposer ('magento/magento-cloud-docker ' , '1.3.1 ' );
38
+ $ I ->addDependencyToComposer ('magento/magento-cloud-docker ' , '1.3.5 ' );
39
39
40
40
$ I ->addEceToolsGitRepoToComposer ();
41
41
$ 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 10
10
use Robo \Exception \TaskException ;
11
11
12
12
/**
13
- * @group php81
13
+ * @group php82
14
14
*/
15
15
class AcceptanceCest extends AbstractCest
16
16
{
17
17
/**
18
18
* Template version for testing
19
19
*/
20
- protected const TEMPLATE_VERSION = '2.4.4 ' ;
20
+ protected const TEMPLATE_VERSION = '2.4.6 ' ;
21
21
22
22
/**
23
23
* @param \CliTester $I
Original file line number Diff line number Diff line change 10
10
use CliTester ;
11
11
12
12
/**
13
- * @group php81
13
+ * @group php82
14
14
*/
15
15
class DeveloperCest extends AbstractCest
16
16
{
17
17
/**
18
18
* Template version for testing
19
19
*/
20
- protected const TEMPLATE_VERSION = '2.4.4 ' ;
20
+ protected const TEMPLATE_VERSION = '2.4.6 ' ;
21
21
22
22
/**
23
23
* 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 12
12
use Robo \Exception \TaskException ;
13
13
14
14
/**
15
- * @group php81
15
+ * @group php82
16
16
*/
17
17
class ElasticsearchCest extends AbstractCest
18
18
{
19
19
/**
20
20
* Template version for testing
21
21
*/
22
- protected const TEMPLATE_VERSION = '2.4.4 ' ;
22
+ protected const TEMPLATE_VERSION = '2.4.6 ' ;
23
23
24
24
/**
25
25
* @param CliTester $I
@@ -81,7 +81,7 @@ protected function dataProvider(): array
81
81
{
82
82
return [
83
83
[
84
- 'version ' => '7.6 ' ,
84
+ 'version ' => '7.10 ' ,
85
85
'xms ' => '520m ' ,
86
86
'xmx ' => '520m ' ,
87
87
'plugins ' => ['analysis-nori ' ],
Original file line number Diff line number Diff line change 8
8
namespace Magento \CloudDocker \Test \Functional \Acceptance ;
9
9
10
10
/**
11
- * @group php81
11
+ * @group php82
12
12
*/
13
13
class MailHogCest extends AbstractCest
14
14
{
15
15
/**
16
16
* Template version for testing
17
17
*/
18
- protected const TEMPLATE_VERSION = '2.4.4 ' ;
18
+ protected const TEMPLATE_VERSION = '2.4.6 ' ;
19
19
20
20
/**
21
21
* @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 12
12
use Robo \Exception \TaskException ;
13
13
14
14
/**
15
- * @group php81
15
+ * @group php82
16
16
*/
17
17
class OpensearchCest extends AbstractCest
18
18
{
19
19
/**
20
20
* Template version for testing
21
21
*/
22
- protected const TEMPLATE_VERSION = '2.4.4 ' ;
22
+ protected const TEMPLATE_VERSION = '2.4.6 ' ;
23
23
24
24
/**
25
25
* @param CliTester $I
@@ -81,7 +81,18 @@ protected function dataProvider(): array
81
81
{
82
82
return [
83
83
[
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 ' ,
85
96
'xms ' => '520m ' ,
86
97
'xmx ' => '520m ' ,
87
98
'plugins ' => ['analysis-nori ' ],
You can’t perform that action at this time.
0 commit comments