diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/area/HTTPStatusCode.php b/core/modules/views/lib/Drupal/views/Plugin/views/area/HTTPStatusCode.php index 7fc4419..e2c07e9 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/area/HTTPStatusCode.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/area/HTTPStatusCode.php @@ -38,7 +38,7 @@ protected function defineOptions() { public function buildOptionsForm(&$form, &$form_state) { parent::buildOptionsForm($form, $form_state); - // Get all possible status code defined by symfony. + // Get all possible status codes defined by symfony. $options = Response::$statusTexts; // Add the HTTP status code, so it's easier for people to find it. diff --git a/core/modules/views/lib/Drupal/views/Tests/Handler/AreaHTTPStatusCodeTest.php b/core/modules/views/lib/Drupal/views/Tests/Handler/AreaHTTPStatusCodeTest.php index 1804e0e..31348ba 100644 --- a/core/modules/views/lib/Drupal/views/Tests/Handler/AreaHTTPStatusCodeTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/Handler/AreaHTTPStatusCodeTest.php @@ -36,7 +36,7 @@ public function testHTTPStatusCodeHandler() { $this->drupalGet('test-http-status-code'); $this->assertResponse(200); - // Change the HTTP status code to 403. + // Change the HTTP status code to 418. $view = views_get_view('test_http_status_code'); $display = &$view->storage->getDisplay('default'); $display['display_options']['empty']['http_status_code']['status_code'] = 418;