From 612e1c05d3b00c9a478570156ab15376819145d4 Mon Sep 17 00:00:00 2001 From: eileen Date: Thu, 5 Sep 2013 15:45:16 +1200 Subject: [PATCH] rename test class as it turns out deceased contacts ARE returned by default --- tests/phpunit/api/v3/ContactTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.25.1