additional example
authorEileen <eilee@fuzion.co.nz>
Wed, 24 Sep 2014 01:45:27 +0000 (01:45 +0000)
committerEileen <eilee@fuzion.co.nz>
Wed, 24 Sep 2014 01:45:27 +0000 (01:45 +0000)
tests/phpunit/api/v3/CaseTest.php

index b1a2fd908a303d241edfd3eff7c3c7d27c965858..091ac02595f5f5794e6db4eda0b406f88e27a755 100644 (file)
@@ -270,7 +270,7 @@ class api_v3_CaseTest extends CiviUnitTestCase {
     // Test using label instead of value
     unset($params['case_type_id']);
     $params['case_type'] = 'Housing Support';
-    $result = $this->callAPISuccess('case', 'create', $params);
+    $result = $this->callAPIAndDocument('case', 'create', $params, __FUNCTION__, __FILE__);
     $id = $result['id'];
 
     // Check result