File tree 1 file changed +12
-0
lines changed
dev/tests/integration/framework/Magento/TestFramework 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)
498
498
$ this ->_ensureDirExists ($ this ->_initParams [$ dirs ][DirectoryList::VAR_DIR ][DirectoryList::PATH ]);
499
499
500
500
$ this ->copyAppConfigFiles ();
501
+ $ this ->copyGlobalConfigFile ();
501
502
502
503
$ installParams = $ this ->getInstallCliParams ();
503
504
@@ -557,6 +558,17 @@ private function copyAppConfigFiles()
557
558
}
558
559
}
559
560
}
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.local.php ' ;
570
+ copy ($ this ->globalConfigFile , $ targetFile );
571
+ }
560
572
561
573
/**
562
574
* Gets a list of CLI params for installation
You can’t perform that action at this time.
0 commit comments