diff core/modules/block/tests/src/Functional/BlockInstallTest.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children
line wrap: on
line diff
--- a/core/modules/block/tests/src/Functional/BlockInstallTest.php	Tue Jul 10 15:07:59 2018 +0100
+++ b/core/modules/block/tests/src/Functional/BlockInstallTest.php	Thu Feb 28 13:21:36 2019 +0000
@@ -15,7 +15,7 @@
     // Warm the page cache.
     $this->drupalGet('');
     $this->assertNoText('Powered by Drupal');
-    $this->assertNoCacheTag('config:block_list');
+    $this->assertSession()->responseHeaderNotContains('X-Drupal-Cache-Tags', 'config:block_list');
 
     // Install the block module, and place the "Powered by Drupal" block.
     $this->container->get('module_installer')->install(['block', 'shortcut']);