Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
facets
Commits
2921f6d6
Commit
2921f6d6
authored
Jan 27, 2016
by
Joris Vercammen
Committed by
Joris Vercammen
Jan 27, 2016
Browse files
Issue
#2657382
by borisson_: Activate strict schema checking in tests again
parent
8604f986
Changes
4
Hide whitespace changes
Inline
Side-by-side
config/schema/facets.facet.schema.yml
View file @
2921f6d6
...
...
@@ -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
config/schema/facets.processor.schema.yml
View file @
2921f6d6
...
...
@@ -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
core_search_facets/src/Tests/WebTestBase.php
View file @
2921f6d6
...
...
@@ -17,15 +17,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.
*
...
...
src/Tests/WebTestBase.php
View file @
2921f6d6
...
...
@@ -20,15 +20,6 @@ abstract class WebTestBase extends SimpletestWebTestBase {
use
StringTranslationTrait
;
use
ExampleContentTrait
;
/**
* Exempt from strict schema checking.
*
* @see \Drupal\Core\Config\Testing\ConfigSchemaChecker
*
* @var bool
*/
protected
$strictConfigSchema
=
FALSE
;
/**
* Modules to enable for this test.
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment