Skip to content

Commit a4fe9c9

Browse files
committed
B2B-2137: Add ability of MFTF Helpers to Return Data to MFTF Test
- Added test changes on CE
1 parent f34651e commit a4fe9c9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,4 +305,15 @@ private function extractFilePath($filePathJson)
305305
}
306306
return $filePathJson;
307307
}
308+
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+
}
308319
}

0 commit comments

Comments
 (0)