Skip to content
Snippets Groups Projects
Verified Commit fd525a15 authored by Dave Long's avatar Dave Long
Browse files

Issue #3207896 by andypost, alexpott: Remove URL generator priming in...

Issue #3207896 by andypost, alexpott: Remove URL generator priming in \Drupal\Tests\BrowserTestBase::installDrupal()

(cherry picked from commit 4acd1d09)
parent d7549f3c
No related branches found
No related tags found
3 merge requests!11769Issue #3517987: Add option to contextual filters to encode slashes in query parameter.,!11185Issue #3477324 by andypost, alexpott: Fix usage of str_getcsv() and fgetcsv() for PHP 8.4,!9944Issue #3483353: Consider making the createCopy config action optionally fail...
Pipeline #195184 passed
Pipeline: drupal

#195186

    ......@@ -14,7 +14,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;
    ......@@ -578,10 +577,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
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment