AutocompleteTest - Use SK as part of the baseline environment
authorTim Otten <totten@civicrm.org>
Fri, 16 Dec 2022 00:54:36 +0000 (16:54 -0800)
committerTim Otten <totten@civicrm.org>
Fri, 16 Dec 2022 00:57:58 +0000 (16:57 -0800)
tests/phpunit/api/v4/Action/AutocompleteTest.php

index 96a5f70c9db804e1442d262641572d1c2e12bfc4..5b81a57b378e54d89494788a49cdc17eb294daa2 100644 (file)
@@ -54,6 +54,11 @@ class AutocompleteTest extends Api4TestBase implements HookInterface, Transactio
     }
   }
 
+  public function setUpHeadless() {
+    // TODO: search_kit should probably be part of the 'headless()' baseline.
+    return \Civi\Test::headless()->install(['org.civicrm.search_kit'])->apply();
+  }
+
   public function setUp(): void {
     $this->hookCallback = NULL;
     // Ensure MockBasicEntity gets added via above listener