commit 60b3fd63f2eee88bd8d2bc541660595fa41ac15b Author: Joel Pittet Date: Mon Aug 17 18:02:02 2015 -0700 escaped diff --git a/core/modules/filter/src/Tests/FilterAdminTest.php b/core/modules/filter/src/Tests/FilterAdminTest.php index edeb7be..16a4635 100644 --- a/core/modules/filter/src/Tests/FilterAdminTest.php +++ b/core/modules/filter/src/Tests/FilterAdminTest.php @@ -312,7 +312,7 @@ function testFilterAdmin() { $edit['body[0][format]'] = $plain; $this->drupalPostForm('node/' . $node->id() . '/edit', $edit, t('Save')); $this->drupalGet('node/' . $node->id()); - $this->assertText(Html::escape($text), 'The "Plain text" text format escapes all HTML tags.'); + $this->assertEscaped($text, 'The "Plain text" text format escapes all HTML tags.'); $this->config('filter.settings') ->set('always_show_fallback_choice', FALSE) ->save();