Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / block / tests / src / Functional / BlockRenderOrderTest.php
index 2fd1ab8925d76e8f0ad4378fc2f612f346a50b9b..ca9c2c299d0b54f8c449c17bcf1f73118e851300 100644 (file)
@@ -63,7 +63,7 @@ class BlockRenderOrderTest extends BrowserTestBase {
     }
 
     $this->drupalGet('');
-    $test_content = $this->getRawContent('');
+    $test_content = $this->getSession()->getPage()->getContent();
 
     $controller = $this->container->get('entity_type.manager')->getStorage('block');
     foreach ($controller->loadMultiple() as $return_block) {