@@ -78,39 +78,39 @@ public function testFetchTransactionParameters(): void
7878 */
7979 public function testAuthorize (): void
8080 {
81- $ gateway = $ this ->gateway ->authorize ($ this ->options );
81+ $ request = $ this ->gateway ->authorize ($ this ->options );
8282
83- $ this ->assertInstanceOf (CreateTransactionRequest::class, $ gateway );
83+ $ this ->assertInstanceOf (CreateTransactionRequest::class, $ request );
8484 }
8585
8686 /**
8787 * Tests if Gateway::completeAuthorize will return an instance of TransactionStatusRequest.
8888 */
8989 public function testCompleteAuthorize (): void
9090 {
91- $ gateway = $ this ->gateway ->completeAuthorize ($ this ->options );
91+ $ request = $ this ->gateway ->completeAuthorize ($ this ->options );
9292
93- $ this ->assertInstanceOf (TransactionStatusRequest::class, $ gateway );
93+ $ this ->assertInstanceOf (TransactionStatusRequest::class, $ request );
9494 }
9595
9696 /**
9797 * Tests if Gateway::capture will return an instance of TransactionStatusRequest.
9898 */
9999 public function testCapture (): void
100100 {
101- $ gateway = $ this ->gateway ->capture ($ this ->options );
101+ $ request = $ this ->gateway ->capture ($ this ->options );
102102
103- $ this ->assertInstanceOf (TransactionStatusRequest::class, $ gateway );
103+ $ this ->assertInstanceOf (TransactionStatusRequest::class, $ request );
104104 }
105105
106106 /**
107107 * Tests if Gateway::refund will return an instance of RefundRequest.
108108 */
109109 public function testRefund (): void
110110 {
111- $ gateway = $ this ->gateway ->refund ($ this ->options );
111+ $ request = $ this ->gateway ->refund ($ this ->options );
112112
113- $ this ->assertInstanceOf (RefundRequest::class, $ gateway );
113+ $ this ->assertInstanceOf (RefundRequest::class, $ request );
114114 }
115115
116116 /**
0 commit comments