Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

[GOVCMSD7-168] Fatal error caused by custom search module in PHPUnit testing #925

Open
wants to merge 2 commits into
base: 7.x-3.x
Choose a base branch
from
Open

Conversation

suhyeonh
Copy link
Contributor

Problem/Motivation

$themes = govcms_supported_themes();
govcms_core_insert_block('search_api_page', 'default_search', $themes, 'header', 0, 0, '', '');
function govcms_supported_themes is called in govcms_search_core.install file

This function is defined in govcms.install file that cannot be guranteed available all the time.

Proposed resolution

Move this function to govcms.profile

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants