diff --git a/core/modules/dblog/src/Tests/DbLogTest.php b/core/modules/dblog/src/Tests/DbLogTest.php index cb7f5b2..7be6677 100644 --- a/core/modules/dblog/src/Tests/DbLogTest.php +++ b/core/modules/dblog/src/Tests/DbLogTest.php @@ -251,27 +251,6 @@ private function verifyLinkEscaping() { } /** - * Test the escaping of message in the operation row of a database log detail - * page. - */ - private function verifyMessageEscaping() { - $link = \Drupal::l('View', Url::fromRoute('entity.node.canonical', array('node' => 1))); - $message = String::format('%message', array( - '%message' => 'Log entry added to do the verifyMessageEscaping test.', - )); - $this->generateLogEntries(1, array( - 'message' => $message, - 'link' => $link, - )); - - $result = db_query_range('SELECT wid FROM {watchdog} ORDER BY wid DESC', 0, 1); - $this->drupalGet('admin/reports/dblog/event/' . $result->fetchField()); - - // Check if the link exists (unescaped). - $this->assertRaw($message); - } - - /** * Generates and then verifies some user events. */ private function doUser() {