function WebDriverWebAssert::statusCodeNotEquals

Same name in other branches
  1. 9 core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php \Drupal\FunctionalJavascriptTests\WebDriverWebAssert::statusCodeNotEquals()
  2. 10 core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php \Drupal\FunctionalJavascriptTests\WebDriverWebAssert::statusCodeNotEquals()
  3. 11.x core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php \Drupal\FunctionalJavascriptTests\WebDriverWebAssert::statusCodeNotEquals()

The use of statusCodeNotEquals() is not available.

Parameters

int $code: The status code.

File

core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php, line 27

Class

WebDriverWebAssert
Defines a JSWebAssert with no support for status code and header assertions.

Namespace

Drupal\FunctionalJavascriptTests

Code

public function statusCodeNotEquals($code) {
    @trigger_error('Support for statusCodeNotEquals is to be dropped from Javascript tests. See https://www.drupal.org/node/2857562.', E_USER_DEPRECATED);
    parent::statusCodeNotEquals($code);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.