Skip to content

Commit feceb6f

Browse files
author
Yuri Kovsher
committed
Merge remote-tracking branch 'tango-ce/MAGETWO-33814' into MAGETWO-33812
Conflicts: app/code/Magento/Customer/Model/AccountManagement.php app/code/Magento/Customer/Model/Resource/Customer.php
2 parents 5a9366c + 3a94360 commit feceb6f

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

dev/tests/integration/testsuite/Magento/Tax/Model/TaxClass/RepositoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ public function testSave()
6666

6767
/**
6868
* @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.
7171
*/
7272
public function testSaveThrowsExceptionIfGivenTaxClassNameIsNotUnique()
7373
{
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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+
}

0 commit comments

Comments
 (0)