From: eileen Date: Sun, 14 Apr 2013 23:17:08 +0000 (+1200) Subject: CRM-12350 remove relevant tests to get full pass-rate X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0121533ee3a03ef786557fa945ea4601b7d21b91;p=civicrm-core.git CRM-12350 remove relevant tests to get full pass-rate --- diff --git a/tests/phpunit/api/v3/SyntaxConformanceAllEntitiesTest.php b/tests/phpunit/api/v3/SyntaxConformanceAllEntitiesTest.php index 8d4d32681b..58ce0a7c15 100644 --- a/tests/phpunit/api/v3/SyntaxConformanceAllEntitiesTest.php +++ b/tests/phpunit/api/v3/SyntaxConformanceAllEntitiesTest.php @@ -55,7 +55,7 @@ class api_v3_SyntaxConformanceAllEntitiesTest extends CiviUnitTestCase { */ function setUp() { parent::setUp(); - $this->toBeImplemented['get'] = array('ParticipantPayment', 'Profile', 'CustomValue', 'Website','Constant', 'CustomSearch', 'Extension', 'ReportTemplate', 'System'); + $this->toBeImplemented['get'] = array('Profile', 'CustomValue', 'Constant', 'CustomSearch', 'Extension', 'ReportTemplate', 'System', 'Setting'); $this->toBeImplemented['create'] = array('SurveyRespondant', 'OptionGroup', 'MailingRecipients', 'UFMatch', 'LocationType', 'CustomSearch', 'Extension', 'ReportTemplate', 'System'); $this->toBeImplemented['delete'] = array('MembershipPayment', 'OptionGroup', 'SurveyRespondant', 'UFJoin', 'UFMatch', 'Extension', 'LocationType', 'System'); $this->onlyIDNonZeroCount['get'] = array('ActivityType', 'Entity', 'Domain','Setting'); @@ -399,10 +399,12 @@ class api_v3_SyntaxConformanceAllEntitiesTest extends CiviUnitTestCase { // we'll fix this once beta1 is released // return; - $result = civicrm_api($Entity, 'Get', array('version' => 3, 'id' => $nonExistantID)); + $result = civicrm_api($Entity, 'Get', array( 'debug' => 1, 'version' => 3, 'id' => $nonExistantID)); if ($result['is_error']) { // just to get a clearer message in the log + print_r($result); + die; $this->assertEquals("only id should be enough", $result['error_message']); } if (!in_array($Entity, $this->onlyIDNonZeroCount['get'])) {