Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
b709c5ae
Commit
b709c5ae
authored
2 weeks ago
by
catch
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3522969
by annmarysruthy: Deprecate BrowserTestBase::getOptions()
parent
2ded5d0f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#509135
passed with warnings
2 weeks ago
Stage: 🪄 Lint
Stage: 🗜️ Test
Pipeline: drupal
#509140
Pipeline: drupal
#509138
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/tests/Drupal/Tests/BrowserTestBase.php
+6
-0
6 additions, 0 deletions
core/tests/Drupal/Tests/BrowserTestBase.php
with
6 additions
and
0 deletions
core/tests/Drupal/Tests/BrowserTestBase.php
+
6
−
0
View file @
b709c5ae
...
...
@@ -502,8 +502,14 @@ protected function getHttpClient() {
*
* @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
);
}
...
...
This diff is collapsed.
Click to expand it.
catch
@catch
mentioned in commit
1f576a22
·
2 weeks ago
mentioned in commit
1f576a22
mentioned in commit 1f576a225a742202713ff36f4683754da70f8863
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment