@@ -53,7 +53,7 @@ public function completedPayment(callable $action)
53
53
->andReturn (true );
54
54
55
55
$ openMercanetBnpParibasWrapper
56
- ->shouldReceive ('setSecretKey ' , 'setEnvironment ' , 'setMerchantId ' )
56
+ ->shouldReceive ('setSecretKey ' , 'setEnvironment ' , 'setMerchantId ' , ' setKeyVersion ' )
57
57
;
58
58
59
59
$ openMercanetBnpParibasWrapper
@@ -66,6 +66,11 @@ public function completedPayment(callable $action)
66
66
->andReturn ('test ' )
67
67
;
68
68
69
+ $ openMercanetBnpParibasWrapper
70
+ ->shouldReceive ('getKeyVersion ' )
71
+ ->andReturn ('test ' )
72
+ ;
73
+
69
74
$ openMercanetBnpParibasWrapper
70
75
->shouldReceive ('getEnvironment ' )
71
76
->andReturn (Mercanet::TEST )
@@ -97,7 +102,7 @@ public function canceledPayment(callable $action)
97
102
->andReturn (true );
98
103
99
104
$ openMercanetBnpParibasWrapper
100
- ->shouldReceive ('setSecretKey ' , 'setEnvironment ' , 'setMerchantId ' )
105
+ ->shouldReceive ('setSecretKey ' , 'setEnvironment ' , 'setMerchantId ' , ' setKeyVersion ' )
101
106
;
102
107
103
108
$ openMercanetBnpParibasWrapper
@@ -110,6 +115,11 @@ public function canceledPayment(callable $action)
110
115
->andReturn ('test ' )
111
116
;
112
117
118
+ $ openMercanetBnpParibasWrapper
119
+ ->shouldReceive ('getKeyVersion ' )
120
+ ->andReturn ('test ' )
121
+ ;
122
+
113
123
$ openMercanetBnpParibasWrapper
114
124
->shouldReceive ('getEnvironment ' )
115
125
->andReturn (Mercanet::TEST )
@@ -119,4 +129,4 @@ public function canceledPayment(callable $action)
119
129
120
130
$ this ->mocker ->unmockAll ();
121
131
}
122
- }
132
+ }
0 commit comments