From 8d88e6b760d742e03dfe4e6df0b8b2839cc39ecc Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Fri, 18 Jun 2021 04:44:56 +0000 Subject: [PATCH] [NFC] Fixes an issue in this unit test where we are trying to do an array acess on an integer --- tests/phpunit/api/v3/AddressTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/api/v3/AddressTest.php b/tests/phpunit/api/v3/AddressTest.php index 59f7028109..10362fb75f 100644 --- a/tests/phpunit/api/v3/AddressTest.php +++ b/tests/phpunit/api/v3/AddressTest.php @@ -370,7 +370,7 @@ class api_v3_AddressTest extends CiviUnitTestCase { 'sequential' => 1, ]; $result = $this->callAPISuccessGetCount('Address', $params, 0); - $this->assertEquals(0, $result['count']); + $this->assertEquals(0, $result); } /** -- 2.25.1