File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ public function getData()
55
55
return [
56
56
'transaction_id ' => $ this ->getTransactionId (),
57
57
'amount ' => $ this ->getAmount (),
58
+ 'status ' => $ this ->getStatus (),
58
59
'success ' => App::STATUS_SUCCESS === $ this ->getStatus (),
59
60
];
60
61
}
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public function testCompletePurchase()
51
51
'url_return ' => 'http://localhost:8080/gateway/return ' ,
52
52
'status ' => App::STATUS_SUCCESS ,
53
53
])->assertStatus (302 )
54
- ->assertRedirect ('http://localhost:8080/gateway/return ' );
54
+ ->assertRedirect ('http://localhost:8080/gateway/return?status=ACEPTAR PAGO ' );
55
55
56
56
Http::assertSent (function ($ request ) {
57
57
return $ request ->url () === 'http://localhost:8080/gateway/notify ' ;
You can’t perform that action at this time.
0 commit comments