File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
src/Magento/FunctionalTestingFramework/DataGenerator/Handlers Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -221,11 +221,13 @@ private function initializeCredentialStorage()
221221 *
222222 * @return void
223223 */
224- private function initializeFileStorage ()
224+ private function initializeFileStorage (): void
225225 {
226226 // Initialize file storage
227227 try {
228- $ this ->credStorage [self ::ARRAY_KEY_FOR_FILE ] = new FileStorage ();
228+ $ fileStorage = new FileStorage ();
229+ $ fileStorage ->initialize ();
230+ $ this ->credStorage [self ::ARRAY_KEY_FOR_FILE ] = $ fileStorage ;
229231 } catch (TestFrameworkException $ e ) {
230232 // Print error message in console
231233 print_r ($ e ->getMessage ());
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class FileStorage extends BaseStorage
2626 * @return void
2727 * @throws TestFrameworkException
2828 */
29- private function initialize (): void
29+ public function initialize (): void
3030 {
3131 if (!$ this ->secretData ) {
3232 $ creds = $ this ->readInCredentialsFile ();
You can’t perform that action at this time.
0 commit comments