diff --git a/core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php b/core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php index d63ada6..0789fc8 100644 --- a/core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php +++ b/core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php @@ -240,7 +240,7 @@ protected function assertUrl($path) { * @deprecated Scheduled for removal in Drupal 9.0.0. * Use $this->assertSession()->assertNoEscaped() instead. */ - public function assertNoEscaped($raw) { + protected function assertNoEscaped($raw) { $this->assertSession()->assertNoEscaped($raw); }