CRM-15988 - Update generated examples
[civicrm-core.git] / api / v3 / examples / PaymentProcessor / Delete.php
index e979277b457f17e5967241e087525d45d3fd47d7..d726926a9a897916e339b398bb90b59929a711b5 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * Test Generated example of using payment_processor delete API.
+ * Test Generated example demonstrating the PaymentProcessor.delete API.
  *
  * @return array
  *   API result array
@@ -11,7 +11,7 @@ function payment_processor_delete_example() {
   );
 
   try{
-    $result = civicrm_api3('payment_processor', 'delete', $params);
+    $result = civicrm_api3('PaymentProcessor', 'delete', $params);
   }
   catch (CiviCRM_API3_Exception $e) {
     // Handle error here.
@@ -46,11 +46,10 @@ function payment_processor_delete_expectedresult() {
   return $expectedResult;
 }
 
-/**
+/*
 * This example has been generated from the API test suite.
-* The test that created it is called
-* testPaymentProcessorDelete
-* and can be found in
+* The test that created it is called "testPaymentProcessorDelete"
+* and can be found at:
 * https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PaymentProcessorTest.php
 *
 * You can see the outcome of the API tests at