File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ protected function apply()
66
66
*/
67
67
public function getRawFinalAmount ()
68
68
{
69
- return $ this ->amountRender -> getAmount ()-> getValue () ;
69
+ return $ this ->finalAmount ;
70
70
}
71
71
72
72
/**
Original file line number Diff line number Diff line change @@ -40,11 +40,11 @@ public function testGetPriceConfiguration()
40
40
],
41
41
];
42
42
43
- $ testArrayWithWee =$ testArray ;
44
- $ testArrayWithWee [0 ][0 ]['prices ' ]['weeePrice ' ]= [
43
+ $ testArrayWithWeee =$ testArray ;
44
+ $ testArrayWithWeee [0 ][0 ]['prices ' ]['weeePrice ' ]= [
45
45
'amount ' => $ testArray [0 ][0 ]['prices ' ]['finalPrice ' ]['amount ' ],
46
46
];
47
- $ testArrayWithWee [0 ][1 ]['prices ' ]['weeePrice ' ]= [
47
+ $ testArrayWithWeee [0 ][1 ]['prices ' ]['weeePrice ' ]= [
48
48
'amount ' => $ testArray [0 ][1 ]['prices ' ]['finalPrice ' ]['amount ' ],
49
49
];
50
50
@@ -62,7 +62,7 @@ public function testGetPriceConfiguration()
62
62
63
63
$ observerObject ->expects ($ this ->once ())
64
64
->method ('setData ' )
65
- ->with ('config ' , $ testArrayWithWee );
65
+ ->with ('config ' , $ testArrayWithWeee );
66
66
67
67
$ objectManager = new ObjectManager ($ this );
68
68
$ weeeObserverObject = $ objectManager ->getObject (
You can’t perform that action at this time.
0 commit comments