Skip to content

Instantly share code, notes, and snippets.

@sheanhoxie
Created November 27, 2018 16:24
Show Gist options
  • Select an option

  • Save sheanhoxie/4e513334a2dc231bbf0f1b7b037d7fa4 to your computer and use it in GitHub Desktop.

Select an option

Save sheanhoxie/4e513334a2dc231bbf0f1b7b037d7fa4 to your computer and use it in GitHub Desktop.
Exclude Bootstrap config schema for testing
protected function getConfigSchemaExclusions() {
return array_merge(parent::getConfigSchemaExclusions(), ['bootstrap.settings']);
}
@sheanhoxie
Copy link
Author

Bootstrap theme is missing schema and throws errors when trying to use it within Tests. Use this method as a workaround until this issue is fixed: https://www.drupal.org/project/drupal/issues/2382671

Related: https://www.drupal.org/project/bootstrap/issues/2860072

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment