From 399fe1c25f48939b88c0ab2cdabfd91dbb3e527a Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Tue, 1 Feb 2022 01:54:18 +0000 Subject: [PATCH] Issue #3174402 by beatrizrodrigues, shetpooja04, ravi.shankar, ayushmishra206, longwave, catch: Fix unused variable $unpublished in TrackerTest.php --- core/modules/tracker/tests/src/Functional/TrackerTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/modules/tracker/tests/src/Functional/TrackerTest.php b/core/modules/tracker/tests/src/Functional/TrackerTest.php index b3515564535a..c8d9784cb2e3 100644 --- a/core/modules/tracker/tests/src/Functional/TrackerTest.php +++ b/core/modules/tracker/tests/src/Functional/TrackerTest.php @@ -393,6 +393,9 @@ public function testTrackerCronIndexing() { 'status' => 0, ]); + $this->drupalGet('activity'); + $this->assertSession()->responseNotContains($unpublished->label()); + // Start indexing backwards from node 4. \Drupal::state()->set('tracker.index_nid', 4); -- GitLab