Mercurial > hg > isophonics-drupal-site
comparison 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 |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
13 | 13 |
14 public function testCacheTagInvalidationUponInstallation() { | 14 public function testCacheTagInvalidationUponInstallation() { |
15 // Warm the page cache. | 15 // Warm the page cache. |
16 $this->drupalGet(''); | 16 $this->drupalGet(''); |
17 $this->assertNoText('Powered by Drupal'); | 17 $this->assertNoText('Powered by Drupal'); |
18 $this->assertNoCacheTag('config:block_list'); | 18 $this->assertSession()->responseHeaderNotContains('X-Drupal-Cache-Tags', 'config:block_list'); |
19 | 19 |
20 // Install the block module, and place the "Powered by Drupal" block. | 20 // Install the block module, and place the "Powered by Drupal" block. |
21 $this->container->get('module_installer')->install(['block', 'shortcut']); | 21 $this->container->get('module_installer')->install(['block', 'shortcut']); |
22 $this->rebuildContainer(); | 22 $this->rebuildContainer(); |
23 $this->container->get('router.builder')->rebuild(); | 23 $this->container->get('router.builder')->rebuild(); |