Mercurial > hg > isophonics-drupal-site
diff core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php @ 16:c2387f117808
Routine composer update
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 15:07:59 +0100 |
parents | 1fec387a4317 |
children | 129ea1e6d783 |
line wrap: on
line diff
--- a/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php Thu Apr 26 11:26:54 2018 +0100 +++ b/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php Tue Jul 10 15:07:59 2018 +0100 @@ -92,11 +92,12 @@ * @param string $message * Optional message to show alongside the assertion. * - * @deprecated in Drupal 8.1.x, will be removed before Drupal 8.3.x. Use + * @deprecated in Drupal 8.1.0, will be removed before Drupal 9.0.0. Use * \Behat\Mink\Element\NodeElement::isVisible() instead. */ protected function assertElementVisible($css_selector, $message = '') { $this->assertTrue($this->getSession()->getDriver()->isVisible($this->cssSelectToXpath($css_selector)), $message); + @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 8.1.0 and will be removed in 9.0.0. Use \Behat\Mink\Element\NodeElement::isVisible() instead.', E_USER_DEPRECATED); } /** @@ -107,11 +108,12 @@ * @param string $message * Optional message to show alongside the assertion. * - * @deprecated in Drupal 8.1.x, will be removed before Drupal 8.3.x. Use + * @deprecated in Drupal 8.1.0, will be removed before Drupal 9.0.0. Use * \Behat\Mink\Element\NodeElement::isVisible() instead. */ protected function assertElementNotVisible($css_selector, $message = '') { $this->assertFalse($this->getSession()->getDriver()->isVisible($this->cssSelectToXpath($css_selector)), $message); + @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 8.1.0 and will be removed in 9.0.0. Use \Behat\Mink\Element\NodeElement::isVisible() instead.', E_USER_DEPRECATED); } /**