comparison core/modules/system/src/Tests/Routing/RouterTest.php @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents 4c8ae668cc8c
children
comparison
equal deleted inserted replaced
11:bfffd8d7479a 12:7a779792577d
50 // raw body returned. 50 // raw body returned.
51 $this->assertRaw('</html>', 'Page markup was found.'); 51 $this->assertRaw('</html>', 'Page markup was found.');
52 // In some instances, the subrequest handling may get confused and render 52 // In some instances, the subrequest handling may get confused and render
53 // a page inception style. This test verifies that is not happening. 53 // a page inception style. This test verifies that is not happening.
54 $this->assertNoPattern('#</body>.*</body>#s', 'There was no double-page effect from a misrendered subrequest.'); 54 $this->assertNoPattern('#</body>.*</body>#s', 'There was no double-page effect from a misrendered subrequest.');
55
56 55
57 // Confirm that route-level access check's cacheability is applied to the 56 // Confirm that route-level access check's cacheability is applied to the
58 // X-Drupal-Cache-Contexts and X-Drupal-Cache-Tags headers. 57 // X-Drupal-Cache-Contexts and X-Drupal-Cache-Tags headers.
59 // 1. controller result: render array, globally cacheable route access. 58 // 1. controller result: render array, globally cacheable route access.
60 $this->drupalGet('router_test/test18'); 59 $this->drupalGet('router_test/test18');