Inheritance: implements Payum\Core\Action\ActionInterface
Exemplo n.º 1
0
 /**
  * @test
  */
 public function shouldMarkAuthorizedIfPaymentStatusPendingAndReasonAuthorization()
 {
     $action = new StatusAction();
     $request = new GetHumanStatus(array('AMT' => 12, 'PAYMENTSTATUS' => Api::PAYMENTSTATUS_PENDING, 'PENDINGREASON' => Api::PENDINGREASON_AUTHORIZATION));
     $action->execute($request);
     $this->assertTrue($request->isAuthorized());
 }