BrowserTestBase::$originalContainer

Same name in other branches
  1. 9 core/tests/Drupal/Tests/BrowserTestBase.php \Drupal\Tests\BrowserTestBase::originalContainer
  2. 8.9.x core/tests/Drupal/Tests/BrowserTestBase.php \Drupal\Tests\BrowserTestBase::originalContainer
  3. 11.x core/tests/Drupal/Tests/BrowserTestBase.php \Drupal\Tests\BrowserTestBase::originalContainer

The original container.

Move this to \Drupal\Core\Test\FunctionalTestSetupTrait once TestBase no longer provides the same value.

Type: \Symfony\Component\DependencyInjection\ContainerInterface

File

core/tests/Drupal/Tests/BrowserTestBase.php, line 211

Class

BrowserTestBase
Provides a test case for functional Drupal tests.

Namespace

Drupal\Tests

Code

protected $originalContainer;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.