Commit 4face3a7 authored by borisson_'s avatar borisson_

Issue #2906665: Follow-up: Fix test

parent c697fe27
......@@ -63,6 +63,12 @@ class ResetFacetsProcessorTest extends UnitTestCase {
public function testBuildWithEmptyItems() {
$summary = new FacetsSummary([], 'facets_summary');
$summary->setFacetSourceId('foo');
$config = [
'processor_id' => 'reset_facets',
'weights' => [],
'settings' => ['link_text' => 'Text'],
];
$summary->addProcessor($config);
$result = $this->processor->build($summary, ['foo'], []);
$this->assertInternalType('array', $result);
......
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