File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
app/code/Magento/Sales/Test/Unit/Model/Order Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1153,6 +1153,7 @@ public function testRegisterRefundNotification()
1153
1153
'setTxnType ' ,
1154
1154
'isFailsafe ' ,
1155
1155
'getTxnId ' ,
1156
+ 'getHtmlTxnId ' ,
1156
1157
'getTxnType '
1157
1158
],
1158
1159
[],
@@ -1193,6 +1194,9 @@ public function testRegisterRefundNotification()
1193
1194
$ newTransaction ->expects ($ this ->once ())->method ('setTxnId ' )->with (
1194
1195
$ this ->transactionId . '- ' . \Magento \Sales \Model \Order \Payment \Transaction::TYPE_REFUND
1195
1196
)->willReturn ($ newTransaction );
1197
+ $ newTransaction ->expects ($ this ->atLeastOnce ())->method ('getHtmlTxnId ' )->willReturn (
1198
+ $ this ->transactionId . '- ' . \Magento \Sales \Model \Order \Payment \Transaction::TYPE_REFUND
1199
+ );
1196
1200
$ newTransaction ->expects ($ this ->atLeastOnce ())->method ('getTxnId ' )->willReturn (
1197
1201
$ this ->transactionId . '- ' . \Magento \Sales \Model \Order \Payment \Transaction::TYPE_REFUND
1198
1202
);
You can’t perform that action at this time.
0 commit comments