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)
67
67
$ setupWizard ->getReadiness ()->getDependencyCheck (),
68
68
'Dependency check is incorrect. '
69
69
);
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
+ }
75
77
\PHPUnit \Framework \Assert::assertContains (
76
78
self ::PHP_SETTING_REGEXP ,
77
79
$ setupWizard ->getReadiness ()->getSettingsCheck (),
You can’t perform that action at this time.
0 commit comments