rename test class as it turns out deceased contacts ARE returned by default
authoreileen <eileen@fuzion.co.nz>
Thu, 5 Sep 2013 03:45:16 +0000 (15:45 +1200)
committereileen <eileen@fuzion.co.nz>
Thu, 5 Sep 2013 03:45:16 +0000 (15:45 +1200)
tests/phpunit/api/v3/ContactTest.php

index 25a15ea6d760461c2bdf144939e8919dfe2d773d..1b03b4f7c8847ff06663b28e8dc3faef150b7cac 100644 (file)
@@ -388,7 +388,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
    * Note at time of writing the default is to return default. This should possibly be changed & test added
    *
    */
-  function testGetDeceasedNotRetrieved() {
+  function testGetDeceasedRetrieved() {
     $c1 = $this->callAPISuccess($this->_entity, 'create', $this->_params);
     $c2 = $this->callAPISuccess($this->_entity, 'create', array('first_name' => 'bb', 'last_name' => 'ccc', 'contact_type' => 'Individual', 'is_deceased' => 1));
     $result = $this->callAPISuccess($this->_entity, 'get', array('is_deceased' => 0));