1.20.x redirect.test | protected RedirectTestHelper::assertHeader($name, $expected, $headers = NULL) |
File
- modules/
redirect/ tests/ redirect.test, line 90 - Unit tests for the redirect module.
Class
Code
protected function assertHeader($name, $expected, $headers = NULL) {
if (!isset($headers)) {
$headers = $this->backdropGetHeaders();
$name = strtolower($name);
}
return $this->assertIdentical($headers[$name], $expected);
}