File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 3
3
* Copyright © Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
+
6
7
namespace Magento \Tax \Api ;
7
8
8
9
use Magento \Customer \Model \Address ;
@@ -27,4 +28,4 @@ public function setDefaultAddressAfterSave(Address $address);
27
28
* @return void
28
29
*/
29
30
public function setDefaultAddressAfterLogIn (array $ addresses );
30
- }
31
+ }
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class AfterAddressSaveObserver implements ObserverInterface
36
36
37
37
/**
38
38
* Manager to save data in customer session.
39
- *
39
+ *
40
40
* @var TaxAddressManagerInterface
41
41
*/
42
42
private $ addressManager ;
Original file line number Diff line number Diff line change 6
6
namespace Magento \Tax \Test \Unit \Model ;
7
7
8
8
use Magento \Framework \TestFramework \Unit \Helper \ObjectManager ;
9
- use Magento \Tax \Api \ TaxAddressManagerInterface ;
9
+ use Magento \Tax \Model \ TaxAddressManager ;
10
10
use \PHPUnit_Framework_MockObject_MockObject as MockObject ;
11
11
12
12
class TaxAddressManagerTest extends \PHPUnit \Framework \TestCase
@@ -17,7 +17,7 @@ class TaxAddressManagerTest extends \PHPUnit\Framework\TestCase
17
17
private $ objectManager ;
18
18
19
19
/**
20
- * @var TaxAddressManagerInterface
20
+ * @var TaxAddressManager
21
21
*/
22
22
private $ manager ;
23
23
@@ -36,7 +36,7 @@ protected function setUp()
36
36
->getMock ();
37
37
38
38
$ this ->manager = $ this ->objectManager ->getObject (
39
- TaxAddressManagerInterface ::class,
39
+ TaxAddressManager ::class,
40
40
[
41
41
'customerSession ' => $ this ->customerSessionMock ,
42
42
]
You can’t perform that action at this time.
0 commit comments