Skip to content

Commit 3a94360

Browse files
author
Dmytro Poperechnyy
committed
MAGETWO-33814: Change parent class of Model\Exception sub-classes to Localized
- Changed expectedException for integration ViewTest;
1 parent 6c2a081 commit 3a94360

File tree

1 file changed

+2
-2
lines changed
  • dev/tests/integration/testsuite/Magento/Catalog/Helper/Product

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/Catalog/Helper/Product/ViewTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function testPrepareAndRender()
120120
}
121121

122122
/**
123-
* @expectedException \Magento\Framework\Model\Exception
123+
* @expectedException \Magento\Framework\Exception\NoSuchEntityException
124124
* @magentoAppIsolation enabled
125125
*/
126126
public function testPrepareAndRenderWrongController()
@@ -132,7 +132,7 @@ public function testPrepareAndRenderWrongController()
132132

133133
/**
134134
* @magentoAppIsolation enabled
135-
* @expectedException \Magento\Framework\Model\Exception
135+
* @expectedException \Magento\Framework\Exception\NoSuchEntityException
136136
*/
137137
public function testPrepareAndRenderWrongProduct()
138138
{

0 commit comments

Comments
 (0)