From f2dff5cc10d50876d9aca57a9a82434838ab845c Mon Sep 17 00:00:00 2001 From: monishdeb Date: Thu, 29 Jan 2015 17:25:36 +0530 Subject: [PATCH] test failure fix2 --- tests/phpunit/api/v3/SyntaxConformanceTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/api/v3/SyntaxConformanceTest.php b/tests/phpunit/api/v3/SyntaxConformanceTest.php index c3fb74a9ea..b82eac141a 100644 --- a/tests/phpunit/api/v3/SyntaxConformanceTest.php +++ b/tests/phpunit/api/v3/SyntaxConformanceTest.php @@ -250,7 +250,8 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase { /** * Mailing Contact Just doesn't support id. We have always insisted on finding a way to * support id in API but in this case the underlying tables are crying out for a restructure - * & it just doesn't make sense + * & it just doesn't make sense, on the otherhand Event need id to be existant as pseudo property + * is been associated with it, so we need to bypass for get api otherwise it will through pseudo_match validation * * @param bool $sequential * @@ -258,7 +259,7 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase { * Entities that cannot be retrieved by ID */ public static function toBeSkipped_getByID($sequential = FALSE) { - return array('MailingContact'); + return array('MailingContact', 'Event'); } /** -- 2.25.1