File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
dev/tests/integration/framework/Magento/TestFramework Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -498,6 +498,7 @@ public function install($cleanup)
498498 $ this ->_ensureDirExists ($ this ->_initParams [$ dirs ][DirectoryList::VAR_DIR ][DirectoryList::PATH ]);
499499
500500 $ this ->copyAppConfigFiles ();
501+ $ this ->copyGlobalConfigFile ();
501502
502503 $ installParams = $ this ->getInstallCliParams ();
503504
@@ -557,6 +558,17 @@ private function copyAppConfigFiles()
557558 }
558559 }
559560 }
561+
562+ /**
563+ * Copies global configuration file from the tests folder (see TESTS_GLOBAL_CONFIG_FILE)
564+ *
565+ * @return void
566+ */
567+ private function copyGlobalConfigFile ()
568+ {
569+ $ targetFile = $ this ->_configDir . '/config.php ' ;
570+ copy ($ this ->globalConfigFile , $ targetFile );
571+ }
560572
561573 /**
562574 * Gets a list of CLI params for installation
You can’t perform that action at this time.
0 commit comments