From 99da7dfeccb11a8da4be0ebb05141c010ffe8893 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 15 Dec 2022 16:54:36 -0800 Subject: [PATCH] AutocompleteTest - Use SK as part of the baseline environment --- tests/phpunit/api/v4/Action/AutocompleteTest.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/phpunit/api/v4/Action/AutocompleteTest.php b/tests/phpunit/api/v4/Action/AutocompleteTest.php index 96a5f70c9d..5b81a57b37 100644 --- a/tests/phpunit/api/v4/Action/AutocompleteTest.php +++ b/tests/phpunit/api/v4/Action/AutocompleteTest.php @@ -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 -- 2.25.1