diff --git a/core/modules/system/src/Tests/Render/HtmlResponseAttachmentsTest.php b/core/modules/system/src/Tests/Render/HtmlResponseAttachmentsTest.php index 2656ccf..7d11933 100644 --- a/core/modules/system/src/Tests/Render/HtmlResponseAttachmentsTest.php +++ b/core/modules/system/src/Tests/Render/HtmlResponseAttachmentsTest.php @@ -60,7 +60,7 @@ public function testAttachments() { $this->drupalGet('/render_attached_test/head'); $this->assertHeader('X-Drupal-Cache', 'HIT'); - // Now repeat all of the preceeding using drupal_process_attached(). + // Now repeat all of the preceding using drupal_process_attached(). // Test ['#attached']['http_header] = ['Status', $code]. $this->drupalGet('/render_attached_test/teapot_dpa'); $this->assertResponse(418); diff --git a/core/modules/system/tests/modules/render_attached_test/src/Controller/TestController.php b/core/modules/system/tests/modules/render_attached_test/src/Controller/TestController.php index 8e71bf0..1d08543 100644 --- a/core/modules/system/tests/modules/render_attached_test/src/Controller/TestController.php +++ b/core/modules/system/tests/modules/render_attached_test/src/Controller/TestController.php @@ -81,7 +81,7 @@ public function feed() { * A generic render array. */ public function teapotHeaderStatusDpa() { - \drupal_process_attached($this->teapotHeaderStatus()); + drupal_process_attached($this->teapotHeaderStatus()); return ['#markup' => "I'm some markup here to fool the kernel into rendering this page."]; } @@ -92,7 +92,7 @@ public function teapotHeaderStatusDpa() { * A render array using the 'http_header' directive. */ public function headerDpa() { - \drupal_process_attached($this->header()); + drupal_process_attached($this->header()); return ['#markup' => "I'm some markup here to fool the kernel into rendering this page."]; } @@ -103,7 +103,7 @@ public function headerDpa() { * A render array using the 'html_head' directive. */ public function headDpa() { - \drupal_process_attached($this->head()); + drupal_process_attached($this->head()); return ['#markup' => "I'm some markup here to fool the kernel into rendering this page."]; } @@ -114,7 +114,7 @@ public function headDpa() { * A render array using the 'feed' directive. */ public function feedDpa() { - \drupal_process_attached($this->feed()); + drupal_process_attached($this->feed()); return ['#markup' => "I'm some markup here to fool the kernel into rendering this page."]; }