Skip to content

Commit 29a1c10

Browse files
committed
php 82 test file fix
1 parent 5814a51 commit 29a1c10

File tree

1 file changed

+1
-32
lines changed

1 file changed

+1
-32
lines changed

src/Test/Functional/Acceptance/Acceptance82Cest.php

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -10,39 +10,8 @@
1010
/**
1111
* @group php82
1212
*/
13-
class AcceptanceCest extends AbstractCest
13+
class Acceptance82Cest extends AcceptanceCest
1414
{
15-
/**
16-
* @param \CliTester $I
17-
*/
18-
public function _before(\CliTester $I): void
19-
{
20-
parent::_before($I);
21-
}
22-
23-
/**
24-
* @param \CliTester $I
25-
* @param \Codeception\Example $data
26-
* @throws \Robo\Exception\TaskException
27-
* @dataProvider patchesDataProvider
28-
*/
29-
public function testPatches(\CliTester $I, \Codeception\Example $data): void
30-
{
31-
$this->prepareTemplate($I, $data['templateVersion'], $data['magentoVersion'] ?? null);
32-
$I->copyFileToWorkDir('files/patches/.apply_quality_patches.env.yaml', '.magento.env.yaml');
33-
$I->generateDockerCompose(sprintf(
34-
'--mode=production --env-vars="%s"',
35-
$this->convertEnvFromArrayToJson(['MAGENTO_CLOUD_PROJECT' => 'travis-testing'])
36-
));
37-
$I->assertTrue($I->runDockerComposeCommand('run build cloud-build'));
38-
$I->assertTrue($I->startEnvironment());
39-
$I->assertTrue($I->runDockerComposeCommand('run deploy cloud-deploy'));
40-
$I->assertTrue($I->runDockerComposeCommand('run deploy cloud-post-deploy'));
41-
$I->amOnPage('/');
42-
$I->see('Home page');
43-
$I->see('CMS homepage content goes here.');
44-
}
45-
4615
/**
4716
* @return array
4817
*/

0 commit comments

Comments
 (0)