diff --git a/config/schema/facets.facet.schema.yml b/config/schema/facets.facet.schema.yml index d1f1d90..93bb29a 100644 --- a/config/schema/facets.facet.schema.yml +++ b/config/schema/facets.facet.schema.yml @@ -78,3 +78,11 @@ facets.facet.*: sequence: type: plugin.plugin_configuration.facets_facet_options.[%key] label: 'Facet plugin options' + +condition.plugin.other_facet: + type: condition.plugin + mapping: + facet_value: + type: string + facets: + type: string diff --git a/config/schema/facets.processor.schema.yml b/config/schema/facets.processor.schema.yml index cc02664..445ac77 100644 --- a/config/schema/facets.processor.schema.yml +++ b/config/schema/facets.processor.schema.yml @@ -41,12 +41,8 @@ plugin.plugin_configuration.facets_processor.count_limit: type: integer label: 'Maximum amount of items to show.' -# There are no settings intended for this, this will probably always be an empty -# array but not having a schema available means the facet config is not correct. -# This is important because the tests use strict config validation. plugin.plugin_configuration.facets_processor.url_processor_handler: - type: sequence - label: 'URL processor settings' - sequence: - type: string - label: 'Single settings' + type: config_object + +plugin.plugin_configuration.facets_processor.hide_non_narrowing_result_processor: + type: config_object diff --git a/core_search_facets/src/Tests/WebTestBase.php b/core_search_facets/src/Tests/WebTestBase.php index b12ca90..f9ffb0c 100644 --- a/core_search_facets/src/Tests/WebTestBase.php +++ b/core_search_facets/src/Tests/WebTestBase.php @@ -18,15 +18,6 @@ abstract class WebTestBase extends SimpletestWebTestBase { use StringTranslationTrait; /** - * Exempt from strict schema checking. - * - * @see \Drupal\Core\Config\Testing\ConfigSchemaChecker - * - * @var bool - */ - protected $strictConfigSchema = FALSE; - - /** * Modules to enable for this test. * * @var string[] diff --git a/src/Tests/WebTestBase.php b/src/Tests/WebTestBase.php index 3b06261..562857c 100644 --- a/src/Tests/WebTestBase.php +++ b/src/Tests/WebTestBase.php @@ -21,15 +21,6 @@ abstract class WebTestBase extends SimpletestWebTestBase { use ExampleContentTrait; /** - * Exempt from strict schema checking. - * - * @see \Drupal\Core\Config\Testing\ConfigSchemaChecker - * - * @var bool - */ - protected $strictConfigSchema = FALSE; - - /** * Modules to enable for this test. * * @var string[]