Skip to content
Snippets Groups Projects
Commit 093d615d authored by Matt Glaman's avatar Matt Glaman Committed by Bojan Živanović
Browse files

Issue #3346844: Set @not-deprecated on assertOptionSelected

parent a6ab5fc2
No related branches found
No related tags found
No related merge requests found
......@@ -660,6 +660,8 @@ class AddressDefaultWidgetTest extends WebDriverTestBase {
* messages: use \Drupal\Component\Utility\SafeMarkup::format() to embed
* variables in the message text, not t(). If left blank, a default message
* will be displayed.
*
* @not-deprecated
*/
protected function assertOptionSelected($id, $option, $message = '') {
$elements = $this->xpath('//select[@name=:id]//option[@value=:option]', [':id' => $id, ':option' => $option]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment