Skip to content

Commit

Permalink
AutocompleteTest - Use SK as part of the baseline environment
Browse files Browse the repository at this point in the history
  • Loading branch information
totten committed Dec 16, 2022
1 parent cd4d3c0 commit 99da7df
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/phpunit/api/v4/Action/AutocompleteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ public function on_civi_api_prepare(\Civi\API\Event\PrepareEvent $event) {
}
}

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
Expand Down

0 comments on commit 99da7df

Please sign in to comment.