You are here

public function WebDriverWebAssert::statusCodeEquals in Drupal 8

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

The use of statusCodeEquals() is not available.

Parameters

int $code: The status code.

File

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

Class

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

Namespace

Drupal\FunctionalJavascriptTests

Code

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