From: Seamus Lee <seamuslee001@gmail.com>
Date: Wed, 4 Aug 2021 21:12:22 +0000 (+1000)
Subject: [NFC] Fix APIv4 Utf8mb4 test to ensure no mixed collation errors
X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e1f97b7e5401e133047d67bcf937161bdf85dede;p=civicrm-core.git

[NFC] Fix APIv4 Utf8mb4 test to ensure no mixed collation errors
---

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')