commit 6d1bbbe13b3c4bb032c96b8146c7029707a48b04 Author: Joel Pittet Date: Sun Jun 7 17:57:02 2015 -0400 test repair diff --git a/core/modules/search/src/Tests/SearchKeywordsConditionsTest.php b/core/modules/search/src/Tests/SearchKeywordsConditionsTest.php index 656e001..7789f7a 100644 --- a/core/modules/search/src/Tests/SearchKeywordsConditionsTest.php +++ b/core/modules/search/src/Tests/SearchKeywordsConditionsTest.php @@ -7,6 +7,8 @@ namespace Drupal\search\Tests; +use Drupal\Component\Utility\SafeMarkup; + /** * Verify the search without keywords set and extra conditions. * @@ -59,6 +61,6 @@ function testSearchKeywordsConditions() { $keys = 'moving drop ' . $this->randomMachineName(); $this->drupalGet("search/dummy_path", array('query' => array('keys' => 'bike', 'search_conditions' => $keys))); $this->assertText("Dummy search snippet to display."); - $this->assertRaw(print_r(array('keys' => 'bike', 'search_conditions' => $keys), TRUE)); + $this->assertRaw(SafeMarkup::checkPlain(print_r(array('keys' => 'bike', 'search_conditions' => $keys), TRUE))); } }