function WebDriverWebAssert::responseHeaderNotEquals
Same name in other branches
- 8.9.x core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php \Drupal\FunctionalJavascriptTests\WebDriverWebAssert::responseHeaderNotEquals()
- 10 core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php \Drupal\FunctionalJavascriptTests\WebDriverWebAssert::responseHeaderNotEquals()
- 11.x core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php \Drupal\FunctionalJavascriptTests\WebDriverWebAssert::responseHeaderNotEquals()
The use of responseHeaderNotEquals() is not available.
Parameters
string $name: The name of the header.
string $value: The value to check the header against.
Overrides WebAssert::responseHeaderNotEquals
File
-
core/
tests/ Drupal/ FunctionalJavascriptTests/ WebDriverWebAssert.php, line 53
Class
- WebDriverWebAssert
- Defines a JSWebAssert with no support for status code and header assertions.
Namespace
Drupal\FunctionalJavascriptTestsCode
public function responseHeaderNotEquals($name, $value) {
@trigger_error('Support for responseHeaderNotEquals is to be dropped from JavaScript tests. See https://www.drupal.org/node/2857562.');
parent::responseHeaderNotEquals($name, $value);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.