From 1ae9446b70f5f5d57f2fc1dee49b274b3df2fb13 Mon Sep 17 00:00:00 2001 From: Johan Vervloet Date: Thu, 15 Jun 2017 23:21:06 +0200 Subject: [PATCH] PHP 5.3. --- tests/phpunit/api/v3/EventTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/api/v3/EventTest.php b/tests/phpunit/api/v3/EventTest.php index 3d3987072d..1abeb53bef 100644 --- a/tests/phpunit/api/v3/EventTest.php +++ b/tests/phpunit/api/v3/EventTest.php @@ -421,7 +421,7 @@ class api_v3_EventTest extends CiviUnitTestCase { // Search for events having NULL as the value for this custom // field. This should return all events created in setUp. $check = $this->callAPISuccess($this->_entity, 'get', array( - 'custom_' . $ids['custom_field_id'] => ['IS NULL' => 1], + 'custom_' . $ids['custom_field_id'] => array('IS NULL' => 1), )); $this->assertGreaterThan(0, $check['count']); -- 2.25.1