CRM-14028 - Fix test
authorColeman Watts <coleman@civicrm.org>
Tue, 21 Jan 2014 17:47:34 +0000 (09:47 -0800)
committerColeman Watts <coleman@civicrm.org>
Tue, 21 Jan 2014 17:47:34 +0000 (09:47 -0800)
tests/phpunit/api/v3/ParticipantPaymentTest.php

index 3ff10d7c967eab7ab4648c0c21e3ab89d7602488..f982d3368651714754db46b469c0ae1b87bbadea 100644 (file)
@@ -302,7 +302,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
     $params = array(
       'id' => 0,    );
     $deletePayment = $this->callAPIFailure('participant_payment', 'delete', $params);
-    $this->assertEquals($deletePayment['error_message'], 'Mandatory key(s) missing from params array: id');
+    $this->assertEquals($deletePayment['error_message'], 'Error while deleting participantPayment');
   }
 
   /**