From b6afca8ff4c4a02d78a56d89c1f8dd6a556fb411 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sun, 3 May 2015 11:35:09 +1200 Subject: [PATCH] Disable failing timestamp test in the 4.6 series Per CRM-16204 we should allow this properly in 4.7 --- tests/phpunit/api/v3/SyntaxConformanceTest.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: -- 2.25.1