From: eileen Date: Thu, 5 Sep 2013 03:45:16 +0000 (+1200) Subject: rename test class as it turns out deceased contacts ARE returned by default X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=612e1c05d3b00c9a478570156ab15376819145d4;p=civicrm-core.git rename test class as it turns out deceased contacts ARE returned by default --- diff --git a/tests/phpunit/api/v3/ContactTest.php b/tests/phpunit/api/v3/ContactTest.php index 25a15ea6d7..1b03b4f7c8 100644 --- a/tests/phpunit/api/v3/ContactTest.php +++ b/tests/phpunit/api/v3/ContactTest.php @@ -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));