From 8f2c0537da72bb7ca866e6847bf887811ab3c72e Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Thu, 5 May 2016 08:54:07 +0100 Subject: [PATCH] Issue #2715507 by dagmar: @todo: Modify core/profiles/standard/src/Tests/StandardTest.php --- core/profiles/standard/src/Tests/StandardTest.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/core/profiles/standard/src/Tests/StandardTest.php b/core/profiles/standard/src/Tests/StandardTest.php index 4a79ffd69d0c..6be002b869be 100644 --- a/core/profiles/standard/src/Tests/StandardTest.php +++ b/core/profiles/standard/src/Tests/StandardTest.php @@ -188,11 +188,10 @@ function testStandard() { $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); -- GitLab