File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,12 @@ public function testPaymentMethodNonce()
8787 'paymentMethodNonce ' => 'abc123 '
8888 )
8989 );
90-
90+
91+ $ data = $ this ->request ->getData ();
92+ $ this ->assertSame ('abc123 ' , $ data ['paymentMethodNonce ' ]);
93+ $ this ->assertArrayNotHasKey ('paymentMethodToken ' , $ data );
94+ }
95+
9196 public function testCustomerId ()
9297 {
9398 $ this ->request ->initialize (
@@ -106,12 +111,8 @@ public function testCustomerId()
106111
107112 $ data = $ this ->request ->getData ();
108113 $ this ->assertSame ('abc123 ' , $ data ['customerId ' ]);
109- $ this ->assertArrayNotHasKey ('customerId ' , $ data );
110- }
111-
112- $ data = $ this ->request ->getData ();
113- $ this ->assertSame ('abc123 ' , $ data ['paymentMethodNonce ' ]);
114114 $ this ->assertArrayNotHasKey ('paymentMethodToken ' , $ data );
115+ $ this ->assertArrayNotHasKey ('paymentMethodNonce ' , $ data );
115116 }
116117
117118 public function testSubMerchantSale ()
You can’t perform that action at this time.
0 commit comments