protected function WebTestBase::rebuildContainer

Overrides Drupal\simpletest\TestBase::rebuildContainer().

Overrides TestBase::rebuildContainer

24 calls to WebTestBase::rebuildContainer()
CommentFieldsTest::testCommentEnable in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentFieldsTest.php
Tests that comment module works when enabled after a content module.
EditorAdminTest::enableUnicornEditor in drupal/core/modules/editor/lib/Drupal/editor/Tests/EditorAdminTest.php
Enables the unicorn editor.
EntityTranslationTestBase::setUp in drupal/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTranslationTestBase.php
Sets up a Drupal site for running functional and integration tests.
EntityTranslationWorkflowsTest::setupEntity in drupal/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTranslationWorkflowsTest.php
Creates a test entity and translate it.
ForumTest::testEnableForumField in drupal/core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php
Tests disabling and re-enabling the Forum module.

... See full list

File

drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php, line 914
Definition of Drupal\simpletest\WebTestBase.

Class

WebTestBase
Test case for typical Drupal tests.

Namespace

Drupal\simpletest

Code

protected function rebuildContainer() {
  parent::rebuildContainer();

  // Make sure the url generator has a request object, otherwise calls to
  // $this->drupalGet() will fail.
  $this
    ->prepareRequestForGenerator();
}