public function WebDriverWebAssert::statusCodeNotEquals in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php \Drupal\FunctionalJavascriptTests\WebDriverWebAssert::statusCodeNotEquals()
The use of statusCodeNotEquals() is not available.
Parameters
int $code: The status code.
Overrides WebAssert::statusCodeNotEquals
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\FunctionalJavascriptTestsCode
public function statusCodeNotEquals($code) {
@trigger_error('Support for statusCodeNotEquals is to be dropped from JavaScript tests. See https://www.drupal.org/node/2857562.');
parent::statusCodeNotEquals($code);
}