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()
221
221
*
222
222
* @return void
223
223
*/
224
- private function initializeFileStorage ()
224
+ private function initializeFileStorage (): void
225
225
{
226
226
// Initialize file storage
227
227
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 ;
229
231
} catch (TestFrameworkException $ e ) {
230
232
// Print error message in console
231
233
print_r ($ e ->getMessage ());
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class FileStorage extends BaseStorage
26
26
* @return void
27
27
* @throws TestFrameworkException
28
28
*/
29
- private function initialize (): void
29
+ public function initialize (): void
30
30
{
31
31
if (!$ this ->secretData ) {
32
32
$ creds = $ this ->readInCredentialsFile ();
You can’t perform that action at this time.
0 commit comments