diff --git a/core/modules/search/src/Tests/SearchQueryAlterTest.php b/core/modules/search/src/Tests/SearchQueryAlterTest.php index b1811a2..1eb9437 100644 --- a/core/modules/search/src/Tests/SearchQueryAlterTest.php +++ b/core/modules/search/src/Tests/SearchQueryAlterTest.php @@ -47,7 +47,7 @@ function testQueryAlter() { // Search for the body keyword 'pizza'. $this->drupalPostForm('search/node', array('keys' => 'pizza'), t('Search')); // The article should be there but not the page. - $this->assertText('article', 'Article is in search results'); - $this->assertNoText('page', 'Page is not in search results'); + $this->assertText('test article', 'Article is in search results'); + $this->assertNoText('test page', 'Page is not in search results'); } }