diff --git a/src/Tests/IntegrationTest.php b/src/Tests/IntegrationTest.php index 1018f30..5fcd6ea 100644 --- a/src/Tests/IntegrationTest.php +++ b/src/Tests/IntegrationTest.php @@ -522,9 +522,12 @@ class IntegrationTest extends WebTestBase { // Make sure that after clicking on article, which has only 2 entities, // there are only 2 items left in the results for other facets as well. - // In this case, that means we can't have 3 entities tagged with grape. + // In this case, that means we can't have 3 entities tagged with grape. Both + // remaining entities are tagged with grape and strawberry. $this->clickLinkPartialName('article'); $this->assertNoText('grape (3)'); + $this->assertText('grape (2)'); + $this->assertText('strawberry (2)'); $this->drupalGet('search-api-test-fulltext'); $this->assertText('Displaying 5 search results');