From 4924373c7d166404a9398ca6132b36f720d59f7d Mon Sep 17 00:00:00 2001 From: eileen Date: Mon, 1 Jul 2019 23:17:16 +1200 Subject: [PATCH] Fix erroneous variabl passed to callAPISuccessGetValue --- tests/phpunit/api/v3/LoggingTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/api/v3/LoggingTest.php b/tests/phpunit/api/v3/LoggingTest.php index 17d0fc9415..dd02b41184 100644 --- a/tests/phpunit/api/v3/LoggingTest.php +++ b/tests/phpunit/api/v3/LoggingTest.php @@ -346,7 +346,7 @@ class api_v3_LoggingTest extends CiviUnitTestCase { public function testRevertRestrictedTables() { CRM_Core_DAO::executeQuery("SET @uniqueID = 'temp name'"); - $this->callAPISuccessGetValue('Setting', array('name' => 'logging_all_tables_uniquid'), TRUE); + $this->assertEquals(TRUE, $this->callAPISuccessGetValue('Setting', ['name' => 'logging_all_tables_uniquid'])); $this->callAPISuccess('Setting', 'create', array('logging' => TRUE)); $contactId = $this->individualCreate(array('address' => array(array('street_address' => '27 Cool way', 'location_type_id' => 1)))); -- 2.25.1