Skip to content

Commit c3e1e81

Browse files
committed
B2B-1754: Automate MC-38938
- Addressing CR feedback
1 parent 395fe0e commit c3e1e81

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public function assertFileEmpty($filePath, $message = ''): void
217217
*/
218218
public function assertFileNotEmpty($filePath, $message = ''): void
219219
{
220-
$this->assertNotEmpty($this->driver->fileGetContents($filePath), "Failed asserting $filePath is empty. " . $message);
220+
$this->assertNotEmpty($this->driver->fileGetContents($filePath), "Failed asserting $filePath is not empty. " . $message);
221221
}
222222

223223
/**

app/code/Magento/Backend/Test/Mftf/Helper/CurlHelpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function assertImageContentIsEqual($url, $expectedString, $postBody = nul
4747
{
4848
$cookie = $this->getCookie($cookieName);
4949
$imageContent = $this->getCurlResponse($url, $cookie, $postBody);
50-
// Must make request twice until bug is resolved
50+
// Must make request twice until bug is resolved: B2B-1789
5151
$imageContent = $this->getCurlResponse($url, $cookie, $postBody);
5252
$imageContentMD5 = md5($imageContent);
5353
$this->assertStringContainsString($expectedString, $imageContentMD5, $message);

app/code/Magento/Catalog/Test/Mftf/Helper/LocalFileAssertions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ public function assertFileEmpty($filePath, $message = ''): void
207207
public function assertFileNotEmpty($filePath, $message = ''): void
208208
{
209209
$realPath = $this->expandPath($filePath);
210-
$this->assertNotEmpty($this->driver->fileGetContents($realPath), "Failed asserting $filePath is empty. " . $message);
210+
$this->assertNotEmpty($this->driver->fileGetContents($realPath), "Failed asserting $filePath is not empty. " . $message);
211211
}
212212

213213
/**

0 commit comments

Comments
 (0)