diff --git a/src/Tests/IntegrationTest.php b/src/Tests/IntegrationTest.php index 7b2c461..510b591 100644 --- a/src/Tests/IntegrationTest.php +++ b/src/Tests/IntegrationTest.php @@ -520,7 +520,11 @@ class IntegrationTest extends WebTestBase { $this->createBlock('type'); $this->createBlock('keywords'); - $edit = ['widget' => 'links', 'widget_configs[show_numbers]' => '1']; + $edit = [ + 'widget' => 'links', + 'widget_configs[show_numbers]' => '1', + 'facet_settings[query_operator]' => 'and', + ]; $this->drupalPostForm('admin/config/search/facets/keywords/edit', $edit, $this->t('Save')); $this->drupalPostForm('admin/config/search/facets/type/edit', $edit, $this->t('Save')); diff --git a/src/Tests/WidgetIntegrationTest.php b/src/Tests/WidgetIntegrationTest.php index 737c6bf..4592190 100644 --- a/src/Tests/WidgetIntegrationTest.php +++ b/src/Tests/WidgetIntegrationTest.php @@ -120,7 +120,7 @@ class WidgetIntegrationTest extends WebTestBase { $this->assertRaw('article (2)'); $this->clickLinkPartialName('item'); $this->assertRaw('item (3)'); - $this->assertRaw('article (0)'); + $this->assertRaw('article (2)'); $this->drupalGet($facet_edit_page); $this->drupalPostForm(NULL, ['widget' => 'links', 'widget_configs[show_numbers]' => FALSE], $this->t('Save'));