diff --git a/core/modules/views/lib/Drupal/views/Tests/Plugin/MiniPagerTest.php b/core/modules/views/lib/Drupal/views/Tests/Plugin/MiniPagerTest.php index d67e7d5..b2accae 100644 --- a/core/modules/views/lib/Drupal/views/Tests/Plugin/MiniPagerTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/Plugin/MiniPagerTest.php @@ -101,6 +101,11 @@ public function testMiniPagerRender() { $this->assertText('Page 1', 'The current page info shows the only page.'); $this->assertNoText('‹‹ test', 'The previous link does not appear on the page.'); $this->assertText($this->nodes[19]->label()); + + $view = views_get_view('test_mini_pager'); + $this->executeView($view); + $this->assertIdentical($view->get_total_rows, NULL, 'The query was not forced to calculate the total number of results.'); + $this->assertIdentical($view->total_rows, NULL, 'The query did not return the total number of rows.'); } }