core/includes/common.inc | 1 - core/lib/Drupal/Core/Render/AttachmentsResponseProcessorInterface.php | 2 -- core/modules/system/src/Tests/Render/HtmlResponseAttachmentsTest.php | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/core/includes/common.inc b/core/includes/common.inc index 33a3f8b..406ef6f 100644 --- a/core/includes/common.inc +++ b/core/includes/common.inc @@ -24,7 +24,6 @@ use Drupal\Core\Language\LanguageInterface; use Drupal\Core\Render\SafeString; use Drupal\Core\Render\Renderer; -use Drupal\Core\Render\HtmlResponseAttachmentsProcessor; use Drupal\Core\Site\Settings; use Drupal\Core\Url; use Symfony\Component\HttpFoundation\Response; diff --git a/core/lib/Drupal/Core/Render/AttachmentsResponseProcessorInterface.php b/core/lib/Drupal/Core/Render/AttachmentsResponseProcessorInterface.php index 3a3da9f..d99cd7e 100644 --- a/core/lib/Drupal/Core/Render/AttachmentsResponseProcessorInterface.php +++ b/core/lib/Drupal/Core/Render/AttachmentsResponseProcessorInterface.php @@ -49,8 +49,6 @@ * The processed response. * * @throws \InvalidArgumentException - * Thrown when the $response parameter is not a - * \Drupal\Core\Render\HtmlResponse. */ public function processAttachments(AttachmentsInterface $response); diff --git a/core/modules/system/src/Tests/Render/HtmlResponseAttachmentsTest.php b/core/modules/system/src/Tests/Render/HtmlResponseAttachmentsTest.php index 36a6e90..2656ccf 100644 --- a/core/modules/system/src/Tests/Render/HtmlResponseAttachmentsTest.php +++ b/core/modules/system/src/Tests/Render/HtmlResponseAttachmentsTest.php @@ -98,7 +98,7 @@ public function testAttachments() { /** * Test caching of ['#attached']. */ - public function testSmartCache() { + public function testRenderCachedBlock() { // Make sure our test block is visible. $this->drupalPlaceBlock('drupal_process_attached_block', ['region' => 'content']);