Skip to content

Commit c7fa3ff

Browse files
authored
MCLOUD-9902: Add FT to Magento Cloud Tools for PHP 8.2 & Magento 2.4.6 (#25)
1 parent 9d05576 commit c7fa3ff

File tree

3 files changed

+28
-3
lines changed

3 files changed

+28
-3
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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\CloudComponents\Test\Functional\Acceptance;
9+
10+
/**
11+
* @group php81
12+
*/
13+
class Acceptance81Cest extends AcceptanceCest
14+
{
15+
/**
16+
* @return array
17+
*/
18+
protected function patchesDataProvider(): array
19+
{
20+
return [
21+
['magentoVersion' => '2.4.4'],
22+
['magentoVersion' => '2.4.5'],
23+
];
24+
}
25+
}

Test/Functional/Acceptance/AcceptanceCest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
namespace Magento\CloudComponents\Test\Functional\Acceptance;
99

1010
/**
11-
* @group php81
11+
* @group php82
1212
*/
1313
class AcceptanceCest
1414
{
@@ -101,7 +101,7 @@ protected function removeESIfExists(\CliTester $I, string $magentoVersion): void
101101
protected function patchesDataProvider(): array
102102
{
103103
return [
104-
['magentoVersion' => '2.4.4'],
104+
['magentoVersion' => '2.4.6'],
105105
];
106106
}
107107

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"codeception/module-db": "^1.0",
2121
"codeception/module-phpbrowser": "^1.0",
2222
"codeception/module-rest": "^1.2",
23-
"consolidation/robo": "^1.2",
23+
"consolidation/robo": "^1.2 || ^2.0",
2424
"phpmd/phpmd": "@stable",
2525
"phpstan/phpstan": "^0.12",
2626
"phpunit/phpunit": "^8.5 || ^9.5",

0 commit comments

Comments
 (0)