File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
dev/tests/integration/testsuite/Magento/Tax/Model/TaxClass
lib/internal/Magento/Framework/Exception/Customer Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ public function testSave()
66
66
67
67
/**
68
68
* @magentoDbIsolation enabled
69
- * @expectedException \Magento\Framework\Exception\InputException
70
- * @expectedExceptionMessage A class with the same name already exists for ClassType PRODUCT .
69
+ * @expectedException \Magento\Framework\Exception\AlreadyExistsException
70
+ * @expectedExceptionMessage Class name and class type already exists.
71
71
*/
72
72
public function testSaveThrowsExceptionIfGivenTaxClassNameIsNotUnique ()
73
73
{
Original file line number Diff line number Diff line change
1
+ <?php
2
+ /**
3
+ * Copyright © 2015 Magento. All rights reserved.
4
+ * See COPYING.txt for license details.
5
+ */
6
+ namespace Magento \Framework \Exception \Customer ;
7
+
8
+ use Magento \Framework \Exception \LocalizedException ;
9
+
10
+ class Exception extends LocalizedException
11
+ {
12
+ }
You can’t perform that action at this time.
0 commit comments