From: Eileen McNaughton Date: Sat, 2 May 2015 23:35:09 +0000 (+1200) Subject: Disable failing timestamp test in the 4.6 series X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=70745fb9914aedf08557dfec1a01295766fee3c8;p=civicrm-core.git Disable failing timestamp test in the 4.6 series Per CRM-16204 we should allow this properly in 4.7 --- diff --git a/tests/phpunit/api/v3/SyntaxConformanceTest.php b/tests/phpunit/api/v3/SyntaxConformanceTest.php index e3f8ba68d6..bb4854c1b7 100644 --- a/tests/phpunit/api/v3/SyntaxConformanceTest.php +++ b/tests/phpunit/api/v3/SyntaxConformanceTest.php @@ -1121,9 +1121,12 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase { $this->assertArrayHasKey('type', $specs, "the _spec function for $entityName field $field does not specify the type"); switch ($specs['type']) { case CRM_Utils_Type::T_DATE: - case CRM_Utils_Type::T_TIMESTAMP: $entity[$fieldName] = '2012-05-20'; break; + + case CRM_Utils_Type::T_TIMESTAMP: + // 4.6 doesn't support timestamp updates from 4.7 we should uncomment this. See CRM-16204 + continue; //case CRM_Utils_Type::T_DATETIME: