Skip to content

Commit

Permalink
MAGETWO-52011: Second error message is not displayed when adding prod…
Browse files Browse the repository at this point in the history
…uct with two invalid file fields to the cart
  • Loading branch information
irenelagno committed Apr 25, 2016
1 parent 0c21e19 commit 79b37e7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ public function testPrepareForCartOptionsException()
);
$product = $repository->get('simple');
// fixture
$this->assertEquals(

$this->assertContains(
'Please specify product\'s required option(s).',
$this->_model->prepareForCart(new \Magento\Framework\DataObject(), $product)
);
Expand Down

0 comments on commit 79b37e7

Please sign in to comment.