Skip to content

Commit 3c46d10

Browse files
committed
B2B-1648: Implement Solution for Unblocking S3 MFTF Import Tests
- Unskipping & fixing S3 import gift card MFTF test
1 parent 5c3b5f3 commit 3c46d10

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,20 @@ public function deleteFileIfExists($filePath): void
9292
}
9393
}
9494

95+
/**
96+
* Copy source into destination
97+
*
98+
* @param string $source
99+
* @param string $destination
100+
* @return void
101+
*
102+
* @throws \Magento\Framework\Exception\FileSystemException
103+
*/
104+
public function copy($source, $destination): void
105+
{
106+
$this->driver->copy($source, $destination);
107+
}
108+
95109
/**
96110
* Create directory in the S3 bucket
97111
*

0 commit comments

Comments
 (0)