Skip to content

Commit 6a28e71

Browse files
committed
B2B-1861: [Test] s3 - Refactor WebAPI tests to add support for Remote Storage
1 parent 4228179 commit 6a28e71

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dev/tests/api-functional/testsuite/Magento/Customer/Api/AccountManagementCustomAttributesTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,9 @@ protected function verifyImageAttribute($customAttributeArray, $expectedFileName
186186
$this->assertStringContainsString($expectedFileName, $customAttribute[AttributeValue::VALUE]);
187187
$mediaDirectory = $this->fileSystem->getDirectoryWrite(DirectoryList::MEDIA);
188188
$customerMediaPath = $mediaDirectory->getAbsolutePath(CustomerMetadataInterface::ENTITY_TYPE_CUSTOMER);
189-
$imageAttributeFound = $mediaDirectory->getDriver()->isExists($customerMediaPath . $customAttribute[AttributeValue::VALUE]);
189+
$imageAttributeFound = $mediaDirectory->getDriver()->isExists(
190+
$customerMediaPath . $customAttribute[AttributeValue::VALUE]
191+
);
190192
$this->assertTrue($imageAttributeFound, 'Expected file was not created');
191193
}
192194
}

0 commit comments

Comments
 (0)