Skip to content

Commit a716ab0

Browse files
author
Mastiuhin Oleksandr
committed
Fix expectExceptionMessage() 'message' parameter
1 parent 4dc91bb commit a716ab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Test/Unit/Model/CategoryRepositoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ public function saveWithValidateCategoryExceptionDataProvider()
285285
return [
286286
[
287287
true, \Magento\Framework\Exception\CouldNotSaveException::class,
288-
'Could not save category: Attribute The "ValidateCategoryTest" attribute is required.' .
288+
'Could not save category: The "ValidateCategoryTest" attribute is required. Enter and try again.' .
289289
'Enter and try again.',
290290
], [
291291
'Something went wrong', \Magento\Framework\Exception\CouldNotSaveException::class,

0 commit comments

Comments
 (0)