summaryrefslogtreecommitdiffstatshomepage
path: root/core/tests/Drupal/Tests/BrowserTestBase.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/tests/Drupal/Tests/BrowserTestBase.php')
-rw-r--r--core/tests/Drupal/Tests/BrowserTestBase.php16
1 files changed, 6 insertions, 10 deletions
diff --git a/core/tests/Drupal/Tests/BrowserTestBase.php b/core/tests/Drupal/Tests/BrowserTestBase.php
index 12228dbea721..98aafad7df13 100644
--- a/core/tests/Drupal/Tests/BrowserTestBase.php
+++ b/core/tests/Drupal/Tests/BrowserTestBase.php
@@ -173,16 +173,6 @@ abstract class BrowserTestBase extends TestCase {
protected $originalShutdownCallbacks = [];
/**
- * The original container.
- *
- * Move this to \Drupal\Core\Test\FunctionalTestSetupTrait once TestBase no
- * longer provides the same value.
- *
- * @var \Symfony\Component\DependencyInjection\ContainerInterface
- */
- protected $originalContainer;
-
- /**
* {@inheritdoc}
*/
public function __construct(string $name) {
@@ -512,8 +502,14 @@ abstract class BrowserTestBase extends TestCase {
*
* @return array
* Associative array of option keys and values.
+ *
+ * @deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. There is
+ * no direct replacement.
+ *
+ * @see https://www.drupal.org/node/3523039
*/
protected function getOptions($select, ?Element $container = NULL) {
+ @trigger_error(__METHOD__ . 'is deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. There is no direct replacement. See https://www.drupal.org/node/3523039', E_DEPRECATED);
if (is_string($select)) {
$select = $this->assertSession()->selectExists($select, $container);
}