test failure fix2
authormonishdeb <monish.deb@webaccessglobal.com>
Thu, 29 Jan 2015 11:55:36 +0000 (17:25 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Thu, 29 Jan 2015 11:55:36 +0000 (17:25 +0530)
tests/phpunit/api/v3/SyntaxConformanceTest.php

index c3fb74a9ea7e6b557a0ec49ec054276b7a82dcfb..b82eac141a6862b1adfd07f8fd2ae401b57027ea 100644 (file)
@@ -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');
   }
 
   /**