Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / views / tests / src / Functional / Wizard / ItemsPerPageTest.php
index c480ba94c74a2c3ddc2d0f2d73d375793fce4d28..b42baf5cd06367843cf4c6c9403c8a9783ec0416 100644 (file)
@@ -57,7 +57,7 @@ class ItemsPerPageTest extends WizardTestBase {
     // appear in the expected order.
     $this->assertUrl($view['page[path]']);
     $this->assertText($view['page[title]']);
-    $content = $this->getRawContent();
+    $content = $this->getSession()->getPage()->getContent();
     $this->assertText($node5->label());
     $this->assertText($node4->label());
     $this->assertText($node3->label());
@@ -80,7 +80,7 @@ class ItemsPerPageTest extends WizardTestBase {
     $this->drupalPlaceBlock("views_block:{$view['id']}-block_1");
 
     $this->drupalGet('user');
-    $content = $this->getRawContent();
+    $content = $this->getSession()->getPage()->getContent();
     $this->assertText($node5->label());
     $this->assertText($node4->label());
     $this->assertText($node3->label());