From c854a7b9df0bb8ea67ee4c04a90c96e8fe224ea6 Mon Sep 17 00:00:00 2001 From: pratikshad Date: Wed, 13 May 2015 17:49:21 +0530 Subject: [PATCH] fixed failed apitest --- api/v3/examples/ContributionPage/Submit.php | 1 + tests/phpunit/api/v3/ContributionPageTest.php | 1 + 2 files changed, 2 insertions(+) diff --git a/api/v3/examples/ContributionPage/Submit.php b/api/v3/examples/ContributionPage/Submit.php index aa56052703..e48416e567 100644 --- a/api/v3/examples/ContributionPage/Submit.php +++ b/api/v3/examples/ContributionPage/Submit.php @@ -30,6 +30,7 @@ function contribution_page_submit_example() { 'is_recur' => 1, 'frequency_interval' => 1, 'frequency_unit' => 'month', + 'is_pay_later' => 1, ); try{ diff --git a/tests/phpunit/api/v3/ContributionPageTest.php b/tests/phpunit/api/v3/ContributionPageTest.php index 62267179d0..2051df4ee9 100644 --- a/tests/phpunit/api/v3/ContributionPageTest.php +++ b/tests/phpunit/api/v3/ContributionPageTest.php @@ -349,6 +349,7 @@ class api_v3_ContributionPageTest extends CiviUnitTestCase { 'is_recur' => 1, 'frequency_interval' => 1, 'frequency_unit' => 'month', + 'is_pay_later' => 1, ); $this->callAPIAndDocument('contribution_page', 'submit', $submitParams, __FUNCTION__, __FILE__, 'submit contribution page', NULL); -- 2.25.1