BrowserTestBase::$originalContainer
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/BrowserTestBase.php \Drupal\Tests\BrowserTestBase::originalContainer
- 10 core/tests/Drupal/Tests/BrowserTestBase.php \Drupal\Tests\BrowserTestBase::originalContainer
- 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 207
Class
- BrowserTestBase
- Provides a test case for functional Drupal tests.
Namespace
Drupal\TestsCode
protected $originalContainer;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.