File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,12 @@ public function testPaymentMethodNonce()
87
87
'paymentMethodNonce ' => 'abc123 '
88
88
)
89
89
);
90
-
90
+
91
+ $ data = $ this ->request ->getData ();
92
+ $ this ->assertSame ('abc123 ' , $ data ['paymentMethodNonce ' ]);
93
+ $ this ->assertArrayNotHasKey ('paymentMethodToken ' , $ data );
94
+ }
95
+
91
96
public function testCustomerId ()
92
97
{
93
98
$ this ->request ->initialize (
@@ -106,12 +111,8 @@ public function testCustomerId()
106
111
107
112
$ data = $ this ->request ->getData ();
108
113
$ this ->assertSame ('abc123 ' , $ data ['customerId ' ]);
109
- $ this ->assertArrayNotHasKey ('customerId ' , $ data );
110
- }
111
-
112
- $ data = $ this ->request ->getData ();
113
- $ this ->assertSame ('abc123 ' , $ data ['paymentMethodNonce ' ]);
114
114
$ this ->assertArrayNotHasKey ('paymentMethodToken ' , $ data );
115
+ $ this ->assertArrayNotHasKey ('paymentMethodNonce ' , $ data );
115
116
}
116
117
117
118
public function testSubMerchantSale ()
You can’t perform that action at this time.
0 commit comments