Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
facets
Commits
3cc7ba62
Commit
3cc7ba62
authored
Apr 24, 2016
by
borisson_
Browse files
style fix.
parent
1eb6646e
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/src/Unit/Plugin/processor/ListItemProcessorTest.php
View file @
3cc7ba62
...
...
@@ -99,7 +99,7 @@ class ListItemProcessorTest extends UnitTestCase {
'weights'
=>
[],
'settings'
=>
[],
]);
/*
*
@var \Drupal\facets\Result\Result[] $module_field_facet- */
/* @var \Drupal\facets\Result\Result[] $module_field_facet- */
$module_field_results
=
$processor
->
build
(
$module_field_facet
,
$this
->
results
);
$this
->
assertCount
(
3
,
$module_field_results
);
...
...
@@ -123,11 +123,14 @@ class ListItemProcessorTest extends UnitTestCase {
->
method
(
'getSetting'
)
->
willReturnMap
([
[
'allowed_values_function'
,
''
],
[
'allowed_values'
,
[
[
'allowed_values'
,
[
1
=>
'blue whale'
,
2
=>
'lynx'
,
3
=>
'dog-wolf-lion'
,
]],
],
],
]);
$entity_field_manager
=
$this
->
getMockBuilder
(
EntityFieldManager
::
class
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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