Skip to content

Commit 9888d40

Browse files
committed
AC-7422::Incompatible issues fix for PHP8.2, fixed the unit test
1 parent 60f31c5 commit 9888d40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/AwsS3/Test/Unit/Driver/AwsS3Test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ public function testSearchDirectory(): void
435435
new \League\Flysystem\DirectoryAttributes('path/1/'),
436436
new \League\Flysystem\DirectoryAttributes('path/2/')
437437
];
438-
$expectedResult = [self::URL . 'path/1/', self::URL . 'path/2/'];
438+
$expectedResult = [self::URL . 'path/1', self::URL . 'path/2'];
439439
$this->metadataProviderMock->expects(self::any())->method('getMetadata')
440440
->willReturnMap([
441441
['path', ['type' => AwsS3::TYPE_DIR]],

0 commit comments

Comments
 (0)