File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
dev/tests/integration/testsuite/Magento/Framework/Session Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -294,6 +294,10 @@ public function testConstructor(string $saveMethod): void
294
294
global $ mockPHPFunctions ;
295
295
$ mockPHPFunctions = true ;
296
296
297
+ if ($ this ->isComposerBaseInstallation ()) {
298
+ $ this ->markTestSkipped ('Skipping: In Composer-based installations, the php_ini global method does not invoke the session value. ' );
299
+ }
300
+
297
301
$ deploymentConfigMock = $ this ->createMock (DeploymentConfig::class);
298
302
$ deploymentConfigMock ->method ('get ' )
299
303
->willReturnCallback (function ($ configPath ) use ($ saveMethod ) {
@@ -357,5 +361,11 @@ private function initializeModel(): void
357
361
]
358
362
);
359
363
}
364
+
365
+ private function isComposerBaseInstallation (): bool
366
+ {
367
+ $ isComposerBased = file_exists (BP . '/vendor/magento/magento2-base ' );
368
+ return (bool )$ isComposerBased ;
369
+ }
360
370
}
361
371
}
You can’t perform that action at this time.
0 commit comments