Skip to content

Commit

Permalink
Merge pull request #3 from eileenmcnaughton/patch-5
Browse files Browse the repository at this point in the history
Disable failing timestamp test in the 4.6 series; hopefully now in TW CRM-16367 branch.
  • Loading branch information
torenware committed May 3, 2015
2 parents c12add3 + ee072e1 commit 2b190db
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/phpunit/api/v3/SyntaxConformanceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1121,9 +1121,12 @@ public function testCreateSingleValueAlter($entityName) {
$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-16431.
continue;

//case CRM_Utils_Type::T_DATETIME:

Expand Down

0 comments on commit 2b190db

Please sign in to comment.