We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba88cfd commit 95d2271Copy full SHA for 95d2271
dev/tests/integration/testsuite/Magento/Tax/Model/TaxClass/RepositoryTest.php
@@ -66,8 +66,8 @@ public function testSave()
66
67
/**
68
* @magentoDbIsolation enabled
69
- * @expectedException \Magento\Framework\Exception\AlreadyExistsException
70
- * @expectedExceptionMessage Class name and class type already exists.
+ * @expectedException \Magento\Framework\Exception\InputException
+ * @expectedExceptionMessage A class with the same name already exists for ClassType PRODUCT.
71
*/
72
public function testSaveThrowsExceptionIfGivenTaxClassNameIsNotUnique()
73
{
0 commit comments