diff --git a/core/modules/views/tests/Drupal/views/Tests/Plugin/area/ResultTest.php b/core/modules/views/tests/Drupal/views/Tests/Plugin/area/ResultTest.php index a99346f..17ec3fc 100644 --- a/core/modules/views/tests/Drupal/views/Tests/Plugin/area/ResultTest.php +++ b/core/modules/views/tests/Drupal/views/Tests/Plugin/area/ResultTest.php @@ -67,7 +67,7 @@ public function testQuery() { $this->resultHandler->query(); $this->assertTrue($this->view->get_total_rows); // A different token should not. - $this->view->destroy(); + $this->view->get_total_rows = NULL; $this->resultHandler->options['content'] = '@current_page'; $this->resultHandler->query(); $this->assertNull($this->view->get_total_rows);