Commit 3cc7ba62 authored by borisson_'s avatar borisson_
Browse files

style fix.

parent 1eb6646e
...@@ -99,7 +99,7 @@ class ListItemProcessorTest extends UnitTestCase { ...@@ -99,7 +99,7 @@ class ListItemProcessorTest extends UnitTestCase {
'weights' => [], 'weights' => [],
'settings' => [], '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); $module_field_results = $processor->build($module_field_facet, $this->results);
$this->assertCount(3, $module_field_results); $this->assertCount(3, $module_field_results);
...@@ -123,11 +123,14 @@ class ListItemProcessorTest extends UnitTestCase { ...@@ -123,11 +123,14 @@ class ListItemProcessorTest extends UnitTestCase {
->method('getSetting') ->method('getSetting')
->willReturnMap([ ->willReturnMap([
['allowed_values_function', ''], ['allowed_values_function', ''],
['allowed_values', [ [
1 => 'blue whale', 'allowed_values',
2 => 'lynx', [
3 => 'dog-wolf-lion', 1 => 'blue whale',
]], 2 => 'lynx',
3 => 'dog-wolf-lion',
],
],
]); ]);
$entity_field_manager = $this->getMockBuilder(EntityFieldManager::class) $entity_field_manager = $this->getMockBuilder(EntityFieldManager::class)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment