Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / block / tests / src / Functional / BlockInstallTest.php
index c6fd1eb19099351208b31a7c16df4b4b1d5646ea..eb6c5fcebf6e768d70f03eaa78882c07ef433347 100644 (file)
@@ -15,7 +15,7 @@ class BlockInstallTest extends BrowserTestBase {
     // 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']);