diff --git a/src/Tests/ProcessorIntegrationTest.php b/src/Tests/ProcessorIntegrationTest.php index c7bca48..def41cf 100644 --- a/src/Tests/ProcessorIntegrationTest.php +++ b/src/Tests/ProcessorIntegrationTest.php @@ -161,8 +161,11 @@ class ProcessorIntegrationTest extends WebTestBase { } } - $values['facet_sorting[display_value_widget_order][status]'] = FALSE; + // Sort by count, then by display value. $values['facet_sorting[count_widget_order][status]'] = TRUE; + $values['processors[count_widget_order][weights][build]'] = 1; + $values['facet_sorting[display_value_widget_order][status]'] = TRUE; + $values['processors[display_value_widget_order][weights][build]'] = 2; $this->drupalGet('admin/config/search/facets/' . $id . '/edit'); $this->drupalPostForm(NULL, $values, $this->t('Save'));