Skip to content

Commit b31f562

Browse files
authored
Add @group to PatchApplierCest (#14)
1 parent e95f66e commit b31f562

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Test/Functional/Acceptance/PatchApplierCest.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
use Magento\CloudDocker\Test\Functional\Codeception\Docker;
1111

1212
/**
13-
* This test runs on the latest version of PHP
13+
* @group php74
1414
*/
1515
class PatchApplierCest extends AbstractCest
1616
{
@@ -21,6 +21,7 @@ public function _before(\CliTester $I): void
2121
{
2222
parent::_before($I);
2323

24+
$this->prepareTemplate($I, 'master');
2425
$I->copyFileToWorkDir('files/debug_logging/.magento.env.yaml', '.magento.env.yaml');
2526
}
2627

@@ -42,7 +43,7 @@ public function testApplyingPatch(\CliTester $I): void
4243
$I->assertContains('# Hello Magento', $targetFile);
4344
$I->assertContains('## Additional Info', $targetFile);
4445
$log = $I->grabFileContent('/var/log/cloud.log', Docker::BUILD_CONTAINER);
45-
$I->assertContains('Patch "/app/m2-hotfixes/patch.patch" applied', $log);
46+
$I->assertContains('Patch ../m2-hotfixes/patch.patch has been applied', $log);
4647
}
4748

4849
/**
@@ -63,7 +64,7 @@ public function testApplyingExistingPatch(\CliTester $I): void
6364
$I->assertContains('# Hello Magento', $targetFile);
6465
$I->assertContains('## Additional Info', $targetFile);
6566
$I->assertContains(
66-
'Patch "/app/m2-hotfixes/patch.patch" was already applied',
67+
'Patch ../m2-hotfixes/patch.patch was already applied',
6768
$I->grabFileContent('/var/log/cloud.log', Docker::BUILD_CONTAINER)
6869
);
6970
}

0 commit comments

Comments
 (0)