@@ -43,11 +43,11 @@ public function testPurchaseSuccess()
4343 {
4444 $ this ->setMockHttpResponse ('PurchaseSuccess.txt ' );
4545 $ response = $ this ->gateway ->purchase ([
46- " partnerRefId " => " Merchant123556666 " ,
47- " amount " => 30000 ,
48- " paymentCode " => " MM627755248085056826 " ,
49- " storeId " => " 001 " ,
50- " storeName " => " Cửa hàng 01 của đối tác " ,
46+ ' partnerRefId ' => ' Merchant123556666 ' ,
47+ ' amount ' => 30000 ,
48+ ' paymentCode ' => ' MM627755248085056826 ' ,
49+ ' storeId ' => ' 001 ' ,
50+ ' storeName ' => ' Cửa hàng 01 của đối tác ' ,
5151 ])->send ();
5252
5353 $ this ->assertTrue ($ response ->isSuccessful ());
@@ -58,11 +58,11 @@ public function testPurchaseFailure()
5858 {
5959 $ this ->setMockHttpResponse ('PurchaseFailure.txt ' );
6060 $ response = $ this ->gateway ->purchase ([
61- " partnerRefId " => " Merchant123556666 " ,
62- " amount " => 30000 ,
63- " paymentCode " => " MM627755248085056826 " ,
64- " storeId " => " 001 " ,
65- " storeName " => " Cửa hàng 01 của đối tác " ,
61+ ' partnerRefId ' => ' Merchant123556666 ' ,
62+ ' amount ' => 30000 ,
63+ ' paymentCode ' => ' MM627755248085056826 ' ,
64+ ' storeId ' => ' 001 ' ,
65+ ' storeName ' => ' Cửa hàng 01 của đối tác ' ,
6666 ])->send ();
6767
6868 $ this ->assertFalse ($ response ->isSuccessful ());
@@ -74,11 +74,11 @@ public function testPayConfirm()
7474 {
7575 $ this ->setMockHttpResponse ('PayConfirm.txt ' );
7676 $ response = $ this ->gateway ->payConfirm ([
77- " partnerRefId " => " Merchant123556666 " ,
78- " requestType " => " capture " ,
79- " requestId " => " 1512529262248 " ,
80- " momoTransId " => " 12436514111 " ,
81- " customerNumber " => " 0963181714 " ,
77+ ' partnerRefId ' => ' Merchant123556666 ' ,
78+ ' requestType ' => ' capture ' ,
79+ ' requestId ' => ' 1512529262248 ' ,
80+ ' momoTransId ' => ' 12436514111 ' ,
81+ ' customerNumber ' => ' 0963181714 ' ,
8282 ])->send ();
8383
8484 $ this ->assertTrue ($ response ->isSuccessful ());
@@ -89,11 +89,11 @@ public function testRefund()
8989 {
9090 $ this ->setMockHttpResponse ('Refund.txt ' );
9191 $ response = $ this ->gateway ->refund ([
92- " partnerRefId " => " Merchant123556666 " ,
93- " requestType " => " capture " ,
94- " requestId " => " 1512529262248 " ,
95- " momoTransId " => " 12436514111 " ,
96- " amount " => 30000
92+ ' partnerRefId ' => ' Merchant123556666 ' ,
93+ ' requestType ' => ' capture ' ,
94+ ' requestId ' => ' 1512529262248 ' ,
95+ ' momoTransId ' => ' 12436514111 ' ,
96+ ' amount ' => 30000 ,
9797 ])->send ();
9898
9999 $ this ->assertTrue ($ response ->isSuccessful ());
@@ -104,9 +104,9 @@ public function testQueryTransaction()
104104 {
105105 $ this ->setMockHttpResponse ('QueryTransaction.txt ' );
106106 $ response = $ this ->gateway ->queryTransaction ([
107- " partnerRefId " => " Merchant123556666 " ,
108- " requestId " => " 1512529262248 " ,
109- " momoTransId " => " 12436514111 " ,
107+ ' partnerRefId ' => ' Merchant123556666 ' ,
108+ ' requestId ' => ' 1512529262248 ' ,
109+ ' momoTransId ' => ' 12436514111 ' ,
110110 ])->send ();
111111
112112 $ this ->assertTrue ($ response ->isSuccessful ());
0 commit comments