diff --git a/modules/rest_facets/tests/src/Functional/RestIntegrationTest.php b/modules/rest_facets/tests/src/Functional/RestIntegrationTest.php index e7f928c..5db29e6 100644 --- a/modules/rest_facets/tests/src/Functional/RestIntegrationTest.php +++ b/modules/rest_facets/tests/src/Functional/RestIntegrationTest.php @@ -60,6 +60,7 @@ class RestIntegrationTest extends FacetsTestBase { */ public function testRestResults() { global $base_url; + $name = 'Type'; $id = 'type'; @@ -79,7 +80,7 @@ class RestIntegrationTest extends FacetsTestBase { $values['facet_sorting[display_value_widget_order][status]'] = FALSE; $values['facet_sorting[active_widget_order][status]'] = FALSE; $values['facet_settings[query_operator]'] = 'or'; - $values['facet_settings[only_visible_when_facet_source_is_visible]'] = FALSE; + $values['facet_settings[only_visible_when_facet_source_is_visible]'] = TRUE; $this->drupalPostForm(NULL, $values, $this->t('Save')); @@ -103,6 +104,7 @@ class RestIntegrationTest extends FacetsTestBase { $values['facet_sorting[display_value_widget_order][status]'] = FALSE; $values['facet_sorting[active_widget_order][status]'] = FALSE; $values['facet_settings[query_operator]'] = 'or'; + $values['facet_settings[only_visible_when_facet_source_is_visible]'] = TRUE; $this->drupalPostForm(NULL, $values, $this->t('Save'));