Add api testing / custom data support for MailingJob.
authoreileen <emcnaughton@wikimedia.org>
Mon, 28 May 2018 00:00:13 +0000 (12:00 +1200)
committereileen <emcnaughton@wikimedia.org>
Wed, 30 May 2018 02:20:50 +0000 (14:20 +1200)
commitf487e358c0031e14f7b6bd2287ebf092ed6542b6
tree2740090c88715cb0a9015ce51fca0a7cf3958006
parent3832b5e0e60c787c89e91cfdd471fe5bf1ca8b35
Add api testing / custom data support for MailingJob.

There is no specific requirement for MailingJob to have custom data - but
this is generally part of standardising all entities to support custom
data (ie. workign through the list in
api_v3_SyntaxConformanceTest:toBeSkipped_custom_data_creatable
 to remove the remaining rows.

Fix some places to call create instead of saving mailing job to trigger hooks.
CRM/Mailing/BAO/MailingJob.php
api/v3/Mailing.php
api/v3/MailingJob.php
tests/phpunit/api/v3/MailingTest.php
tests/phpunit/api/v3/SyntaxConformanceTest.php