Merge pull request #10946 from mattwire/CRM-21037_activity_sendsms_unittests
[civicrm-core.git] / tests / phpunit / api / v3 / SyntaxConformanceTest.php
index b4cd5187dc392027c39c0493d35d0cddff22ad84..9694308527bffe34d3d4026d46ed173be63f06df 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.7                                                |
+ | CiviCRM version 5                                                  |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2018                                |
  +--------------------------------------------------------------------+
@@ -96,7 +96,6 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase {
     $this->toBeImplemented['create'] = array(
       'Cxn',
       'CxnApp',
-      'JobLog',
       'SurveyRespondant',
       'OptionGroup',
       'MailingRecipients',
@@ -114,7 +113,6 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase {
     $this->toBeImplemented['delete'] = array(
       'Cxn',
       'CxnApp',
-      'JobLog',
       'MembershipPayment',
       'OptionGroup',
       'SurveyRespondant',
@@ -388,18 +386,14 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase {
       'MailingEventUnsubscribe',
       'MailingJob',
       'MembershipPayment',
-      'Note',
       'SavedSearch',
       'UFJoin',
       'UFField',
       'PriceFieldValue',
-      'JobLog',
       'GroupContact',
       'EntityTag',
       'PledgePayment',
-      'PaymentProcessorType',
       'Relationship',
-      'RelationshipType',
 
       // ones that are not real entities hence not extendable.
       'ActivityType',
@@ -731,6 +725,11 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase {
           'ignore_severity',
         ),
       ),
+      'JobLog' => array(
+        // For better or worse triggers override.
+        'break_return' => ['run_time'],
+        'cant_update' => ['run_time'],
+      ),
     );
     if (empty($knownFailures[$entity]) || empty($knownFailures[$entity][$key])) {
       return array();