diff --git a/core/tests/Drupal/Tests/BrowserTestBase.php b/core/tests/Drupal/Tests/BrowserTestBase.php index d0027e13743071c171d035ada9efc081bec1e010..f9efa6d3427e0135d70d4a8662d279d630fd0dcf 100644 --- a/core/tests/Drupal/Tests/BrowserTestBase.php +++ b/core/tests/Drupal/Tests/BrowserTestBase.php @@ -15,7 +15,6 @@ use Drupal\Core\Database\Database; use Drupal\Core\Test\FunctionalTestSetupTrait; use Drupal\Core\Test\TestSetupTrait; -use Drupal\Core\Url; use Drupal\Core\Utility\Error; use Drupal\Tests\block\Traits\BlockCreationTrait; use Drupal\Tests\node\Traits\ContentTypeCreationTrait; @@ -557,10 +556,6 @@ public function installDrupal() { // as expected. $this->container->get('cache_tags.invalidator')->resetChecksums(); - // Generate a route to prime the URL generator with the correct base URL. - // @todo Remove in https://www.drupal.org/project/drupal/issues/3207896. - Url::fromRoute('<front>')->setAbsolute()->toString(); - // Explicitly call register() again on the container registered in \Drupal. // @todo This should already be called through // DrupalKernel::prepareLegacyRequest() -> DrupalKernel::boot() but that