From e1f97b7e5401e133047d67bcf937161bdf85dede Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Thu, 5 Aug 2021 07:12:22 +1000 Subject: [PATCH] [NFC] Fix APIv4 Utf8mb4 test to ensure no mixed collation errors --- tests/phpunit/api/v4/Action/ContactGetTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/api/v4/Action/ContactGetTest.php b/tests/phpunit/api/v4/Action/ContactGetTest.php index f48e4d2882..8754771ca3 100644 --- a/tests/phpunit/api/v4/Action/ContactGetTest.php +++ b/tests/phpunit/api/v4/Action/ContactGetTest.php @@ -120,6 +120,7 @@ class ContactGetTest extends \api\v4\UnitTestCase { CHARSET utf8 "); } + \Civi::$statics['CRM_Core_BAO_SchemaHandler'] = []; Contact::get() ->setDebug(TRUE) ->addWhere('first_name', '=', '🦉Claire') -- 2.25.1