Skip to content

Commit 79b37e7

Browse files
committed
MAGETWO-52011: Second error message is not displayed when adding product with two invalid file fields to the cart
1 parent 0c21e19 commit 79b37e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/tests/integration/testsuite/Magento/Catalog/Model/Product/Type/AbstractTypeTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ public function testPrepareForCartOptionsException()
190190
);
191191
$product = $repository->get('simple');
192192
// fixture
193-
$this->assertEquals(
193+
194+
$this->assertContains(
194195
'Please specify product\'s required option(s).',
195196
$this->_model->prepareForCart(new \Magento\Framework\DataObject(), $product)
196197
);

0 commit comments

Comments
 (0)