Fix behat test

This commit is contained in:
Michał Pysiak 2024-10-29 10:12:08 +01:00
parent fe5910e8ac
commit d6fa473f9b
No known key found for this signature in database
GPG key ID: 9C1F2D0F99830187

View file

@ -1086,7 +1086,7 @@ final class ManagingProductsContext implements Context
*/
public function iShouldBeNotifiedThatSvgTypeIsNotAllowed(): void
{
$this->mediaFormElement->hasValidationErrorWithMessage('This file type is not allowed.');
$this->assertValidationMessage('images', 'The file is not a valid image. Allowed types are image/jpeg, image/png, image/gif, image/webp.');
}
/**