diff --git a/core/modules/dblog/lib/Drupal/dblog/Tests/DbLogTest.php b/core/modules/dblog/lib/Drupal/dblog/Tests/DbLogTest.php index 1c4e69c..59a40c3 100644 --- a/core/modules/dblog/lib/Drupal/dblog/Tests/DbLogTest.php +++ b/core/modules/dblog/lib/Drupal/dblog/Tests/DbLogTest.php @@ -350,13 +350,13 @@ private function doNode($type) { $this->drupalGet('admin/reports/access-denied'); $this->assertResponse(200); // Verify that the 'access denied' event was recorded. - $this->assertText(t('admin/reports/dblog'), 'DBLog event was recorded: [access denied]'); + $this->assertText('admin/reports/dblog', 'DBLog event was recorded: [access denied]'); // View the database log page-not-found report page. $this->drupalGet('admin/reports/page-not-found'); $this->assertResponse(200); // Verify that the 'page not found' event was recorded. - $this->assertText(t('node/@nid', array('@nid' => $node->id())), 'DBLog event was recorded: [page not found]'); + $this->assertText('node/' . $node->id(), 'DBLog event was recorded: [page not found]'); } /**