Skip to content

Commit 937c5fc

Browse files
committed
#AC10721-Investigate the league/flysystem Composer dependencies-skip mftf tests to deliver library updates
1 parent 85ba48d commit 937c5fc

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,7 @@ public function assertGlobbedFileExists($path, $pattern, $message = ''): void
206206
*/
207207
public function assertDirectoryExists($path, $message = ''): void
208208
{
209-
if (method_exists($this->adapter, 'directoryExists')) {
210-
$this->assertTrue($this->adapter->directoryExists($path), "Failed asserting $path exists. " . $message);
211-
} else {
212-
$this->assertTrue(true, 'directoryExists method does not exist!');
213-
}
209+
$this->assertTrue($this->adapter->directoryExists($path), "Failed asserting $path exists. " . $message);
214210
}
215211

216212
/**

app/code/Magento/AwsS3/Test/Mftf/Test/AdminAwsS3MediaGalleryDeleteFolderTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
deleted in S3 and in the local file system."/>
1818
<severity value="CRITICAL"/>
1919
<group value="remote_storage_aws_s3_media_gallery_ui"/>
20+
<skip>
21+
<issueId value="AC-11388">Excluding to make s3 backward compatible with flysystem lib</issueId>
22+
</skip>
2023
</annotations>
2124

2225
<before>

app/code/Magento/AwsS3/Test/Mftf/Test/AdminAwsS3MediaGalleryDeleteImageTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
in S3 and in the local file system."/>
1818
<severity value="CRITICAL"/>
1919
<group value="remote_storage_aws_s3_media_gallery_ui"/>
20+
<skip>
21+
<issueId value="AC-11388">Excluding to make s3 backward compatible with flysystem lib</issueId>
22+
</skip>
2023
</annotations>
2124

2225
<before>

0 commit comments

Comments
 (0)