You are here

public function WebDriverWebAssert::responseHeaderNotContains in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php \Drupal\FunctionalJavascriptTests\WebDriverWebAssert::responseHeaderNotContains()

The use of responseHeaderNotContains() is not available.

Parameters

string $name: The name of the header.

string $value: The value to check the header against.

Overrides WebAssert::responseHeaderNotContains

File

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

Class

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

Namespace

Drupal\FunctionalJavascriptTests

Code

public function responseHeaderNotContains($name, $value) {
  @trigger_error('Support for responseHeaderNotContains is to be dropped from JavaScript tests. See https://www.drupal.org/node/2857562.');
  parent::responseHeaderNotContains($name, $value);
}