File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
dev/tests/functional/tests/app/Magento/Setup/Test/Constraint Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -67,11 +67,13 @@ public function processAssert(SetupWizard $setupWizard)
6767 $ setupWizard ->getReadiness ()->getDependencyCheck (),
6868 'Dependency check is incorrect. '
6969 );
70- \PHPUnit \Framework \Assert::assertContains (
71- self ::PHP_VERSION_MESSAGE ,
72- $ setupWizard ->getReadiness ()->getPhpVersionCheck (),
73- 'PHP version is incorrect. '
74- );
70+ if ($ setupWizard ->getReadiness ()->isPhpVersionCheckVisible ()) {
71+ \PHPUnit \Framework \Assert::assertContains (
72+ self ::PHP_VERSION_MESSAGE ,
73+ $ setupWizard ->getReadiness ()->getPhpVersionCheck (),
74+ 'PHP version is incorrect. '
75+ );
76+ }
7577 \PHPUnit \Framework \Assert::assertContains (
7678 self ::PHP_SETTING_REGEXP ,
7779 $ setupWizard ->getReadiness ()->getSettingsCheck (),
You can’t perform that action at this time.
0 commit comments