From ded34eb15e890a2ad15af0332b6e91e3d49a387d Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 29 Apr 2014 18:42:32 -0700 Subject: [PATCH] Add required field to test case This field was not required earlier but at some point I made it required as it was not possible to create a valid schedule without this or absolute_date --- tests/phpunit/api/v3/ActionScheduleTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/api/v3/ActionScheduleTest.php b/tests/phpunit/api/v3/ActionScheduleTest.php index 5ff0c6f8bb..8dbdcc73de 100644 --- a/tests/phpunit/api/v3/ActionScheduleTest.php +++ b/tests/phpunit/api/v3/ActionScheduleTest.php @@ -83,6 +83,7 @@ class api_v3_ActionScheduleTest extends CiviUnitTestCase { 'entity_status' => $scheduledStatus, 'is_active' => 1, 'record_activity' => 1, + 'start_action_date' => 'activity_date_time', 'mapping_id' => $mappingId, ); $actionSchedule = $this->callAPISuccess('action_schedule', 'create', $params); -- 2.25.1