diff --git a/core/modules/views/src/Tests/Plugin/PagerTest.php b/core/modules/views/src/Tests/Plugin/PagerTest.php index 28cb593..20e0718 100644 --- a/core/modules/views/src/Tests/Plugin/PagerTest.php +++ b/core/modules/views/src/Tests/Plugin/PagerTest.php @@ -140,6 +140,7 @@ public function testNoLimit() { } public function testViewTotalRowsWithoutPager() { + $this->drupalCreateContentType(array('type' => 'page')); for ($i = 0; $i < 23; $i++) { $this->drupalCreateNode(); } @@ -157,6 +158,7 @@ public function testViewTotalRowsWithoutPager() { public function testLimit() { // Create 11 nodes and make sure that everyone is returned. // We create 11 nodes, because the default pager plugin had 10 items per page. + $this->drupalCreateContentType(array('type' => 'page')); for ($i = 0; $i < 11; $i++) { $this->drupalCreateNode(); } @@ -190,6 +192,7 @@ public function testLimit() { public function testNormalPager() { // Create 11 nodes and make sure that everyone is returned. // We create 11 nodes, because the default pager plugin had 10 items per page. + $this->drupalCreateContentType(array('type' => 'page')); for ($i = 0; $i < 11; $i++) { $this->drupalCreateNode(); } @@ -244,6 +247,7 @@ public function testNormalPager() { public function testRenderNullPager() { // Create 11 nodes and make sure that everyone is returned. // We create 11 nodes, because the default pager plugin had 10 items per page. + $this->drupalCreateContentType(array('type' => 'page')); for ($i = 0; $i < 11; $i++) { $this->drupalCreateNode(); } diff --git a/core/modules/views_ui/src/Tests/OverrideDisplaysTest.php b/core/modules/views_ui/src/Tests/OverrideDisplaysTest.php index f9985aa..a3d4396 100644 --- a/core/modules/views_ui/src/Tests/OverrideDisplaysTest.php +++ b/core/modules/views_ui/src/Tests/OverrideDisplaysTest.php @@ -93,6 +93,7 @@ function testWizardMixedDefaultOverriddenDisplays() { // Add a node that will appear in the view, so that the block will actually // be displayed. + $this->drupalCreateContentType(array('type' => 'page')); $this->drupalCreateNode(); // Make sure that the feed, page and block all start off with the correct