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 / SortingTest.php
index 07268e3f75803cde65b7a4bf39670fa1321d42c6..ee36bf2f7ad7def28c8b7ac488d7ee6d4f7ef654 100644 (file)
@@ -42,7 +42,7 @@ class SortingTest extends WizardTestBase {
     // Make sure the view shows the nodes in the expected order.
     $this->assertUrl($view1['page[path]']);
     $this->assertText($view1['page[title]']);
-    $content = $this->getRawContent();
+    $content = $this->getSession()->getPage()->getContent();
     $this->assertText($node1->label());
     $this->assertText($node2->label());
     $this->assertText($node3->label());
@@ -67,7 +67,7 @@ class SortingTest extends WizardTestBase {
     // Make sure the view shows the nodes in the expected order.
     $this->assertUrl($view2['page[path]']);
     $this->assertText($view2['page[title]']);
-    $content = $this->getRawContent();
+    $content = $this->getSession()->getPage()->getContent();
     $this->assertText($node3->label());
     $this->assertText($node2->label());
     $this->assertText($node1->label());