diff --git a/dev/tests/integration/testsuite/Magento/Catalog/Model/Product/Type/AbstractTypeTest.php b/dev/tests/integration/testsuite/Magento/Catalog/Model/Product/Type/AbstractTypeTest.php index fd074a3eb17ae..7dd3177f30bfc 100644 --- a/dev/tests/integration/testsuite/Magento/Catalog/Model/Product/Type/AbstractTypeTest.php +++ b/dev/tests/integration/testsuite/Magento/Catalog/Model/Product/Type/AbstractTypeTest.php @@ -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) );