You are here

public function PayPalPaymentIPNControllerTest::testAcknowledge in PayPal for Payment 7

Tests acknowledge().

File

paypal_payment_ipn/tests/PayPalPaymentIPNControllerTest.test, line 91
Contains \PayPalPaymentIPNControllerTest.

Class

PayPalPaymentIPNControllerTest
Tests PayPalPaymentIPNController functionality.

Code

public function testAcknowledge() {
  $this
    ->assertTrue(PayPalPaymentIPNController::acknowledge($this
    ->mockIPNVariables(9, TRUE)));
  $this
    ->assertFalse(PayPalPaymentIPNController::acknowledge($this
    ->mockIPNVariables(9, FALSE)));
}