Skip to content

Commit b55f862

Browse files
committed
B2B-2137: Add ability of MFTF Helpers to Return Data to MFTF Test
- Added review changes to test
1 parent 256df81 commit b55f862

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

app/code/Magento/AwsS3/Test/Mftf/Helper/FileAssertions.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ public function assertDirectoryNotEmpty($path, $message = ''): void
297297
* @param string $filePathJson - path to file or json structure with paths by storage type.
298298
* @return mixed
299299
*/
300-
private function extractFilePath($filePathJson)
300+
public function extractFilePath($filePathJson)
301301
{
302302
$filePathArgs = json_decode($filePathJson, true);
303303
if (isset($filePathArgs[$this->storageType])) {
@@ -306,14 +306,14 @@ private function extractFilePath($filePathJson)
306306
return $filePathJson;
307307
}
308308

309-
/**
310-
* Returns path for current storage type
311-
*
312-
* @param string $filePath
313-
* @return mixed|string
314-
*/
315-
public function getPath(string $filePath)
316-
{
317-
return $this->extractFilePath($filePath);
318-
}
309+
// /**
310+
// * Returns path for current storage type
311+
// *
312+
// * @param string $filePath
313+
// * @return mixed|string
314+
// */
315+
// public function getPath(string $filePath)
316+
// {
317+
// return $this->extractFilePath($filePath);
318+
// }
319319
}

0 commit comments

Comments
 (0)