[NFC] Fix APIv4 Utf8mb4 test to ensure no mixed collation errors
authorSeamus Lee <seamuslee001@gmail.com>
Wed, 4 Aug 2021 21:12:22 +0000 (07:12 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Wed, 4 Aug 2021 21:12:22 +0000 (07:12 +1000)
tests/phpunit/api/v4/Action/ContactGetTest.php

index f48e4d288290e1f519a2ebbd2988fc328088ce79..8754771ca382140e72fe4b311a4265e4804a4067 100644 (file)
@@ -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')