Update to Drupal 8.1.2. For more information, see https://www.drupal.org/project/drupal/releases/8.1.2
This commit is contained in:
parent
9eae24d844
commit
28556d630e
1322 changed files with 6699 additions and 2064 deletions
|
@ -38,4 +38,5 @@ class MinimalTest extends WebTestBase {
|
|||
// Ensure that there are no pending entity updates after installation.
|
||||
$this->assertFalse($this->container->get('entity.definition_update_manager')->needsUpdates(), 'After installation, entity schema is up to date.');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -188,15 +188,15 @@ class StandardTest extends WebTestBase {
|
|||
$this->drupalGet($url);
|
||||
$this->assertEqual('HIT', $this->drupalGetHeader(DynamicPageCacheSubscriber::HEADER), 'Frontpage is cached by Dynamic Page Cache.');
|
||||
|
||||
// @todo uncomment after https://www.drupal.org/node/2543334 has landed.
|
||||
//url = Url::fromRoute('entity.node.canonical', ['node' => 1]);
|
||||
//$this->drupalGet($url);
|
||||
//$this->drupalGet($url);
|
||||
//$this->assertEqual('HIT', $this->drupalGetHeader(DynamicPageCacheSubscriber::HEADER), 'Full node page is cached by Dynamic Page Cache.');
|
||||
$url = Url::fromRoute('entity.node.canonical', ['node' => 1]);
|
||||
$this->drupalGet($url);
|
||||
$this->drupalGet($url);
|
||||
$this->assertEqual('HIT', $this->drupalGetHeader(DynamicPageCacheSubscriber::HEADER), 'Full node page is cached by Dynamic Page Cache.');
|
||||
|
||||
$url = Url::fromRoute('entity.user.canonical', ['user' => 1]);
|
||||
$this->drupalGet($url);
|
||||
$this->drupalGet($url);
|
||||
$this->assertEqual('HIT', $this->drupalGetHeader(DynamicPageCacheSubscriber::HEADER), 'User profile page is cached by Dynamic Page Cache.');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -38,4 +38,5 @@ class SystemListingCompatibleTest extends WebTestBase {
|
|||
function testSystemListing() {
|
||||
$this->pass(__CLASS__ . ' test executed.');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Reference in a new issue