File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
app/code/Magento/Tax/Test/Unit/Observer Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public function testUpdateProductOptions(
24
24
$ displayPriceExcludingTax
25
25
) {
26
26
27
- $ frameworkObject = new \Magento \Framework \DataObject ();
27
+ $ frameworkObject = new \Magento \Framework \DataObject ();
28
28
$ frameworkObject ->setAdditionalOptions ([]);
29
29
30
30
$ product =$ this ->createMock (\Magento \Catalog \Model \Product::class);
@@ -63,18 +63,18 @@ public function testUpdateProductOptions(
63
63
->method ('getEvent ' )
64
64
->will ($ this ->returnValue ($ eventObject ));
65
65
66
- $ objectManager = new ObjectManager ($ this );
67
- $ taxObserverObject = $ objectManager ->getObject (
68
- \Magento \Tax \Observer \UpdateProductOptionsObserver::class,
69
- [
70
- 'taxData ' => $ taxData ,
71
- 'registry ' => $ registry ,
72
- ]
73
- );
66
+ $ objectManager = new ObjectManager ($ this );
67
+ $ taxObserverObject = $ objectManager ->getObject (
68
+ \Magento \Tax \Observer \UpdateProductOptionsObserver::class,
69
+ [
70
+ 'taxData ' => $ taxData ,
71
+ 'registry ' => $ registry ,
72
+ ]
73
+ );
74
74
75
- $ taxObserverObject ->execute ($ observerObject );
75
+ $ taxObserverObject ->execute ($ observerObject );
76
76
77
- $ this ->assertEquals ($ expected , $ frameworkObject ->getAdditionalOptions ());
77
+ $ this ->assertEquals ($ expected , $ frameworkObject ->getAdditionalOptions ());
78
78
}
79
79
80
80
/**
You can’t perform that action at this time.
0 commit comments