public function PayPalPaymentPPSPaymentExecution::testPaymentExecution in PayPal for Payment 7
Tests payment execution.
File
- paypal_payment_pps/
tests/ PayPalPaymentPPSPaymentExecution.test, line 35 - Contains \PayPalPaymentPPSPaymentExecution.
Class
- PayPalPaymentPPSPaymentExecution
- Tests payment execution.
Code
public function testPaymentExecution() {
$payment_method = $this
->paymentMethodCreate(2, payment_method_controller_load('PayPalPaymentPPSPaymentMethodController'));
$payment_method->controller_data = array(
'email_address' => 'b@b.b',
'server' => PayPalPaymentPPSPaymentMethodController::SANDBOX_SERVER_URL,
);
entity_save('payment_method', $payment_method);
$this
->assertPaymentExecution($payment_method);
}