From 815ee4641c5c3f3d7a15a760667efd9dfafbb135 Mon Sep 17 00:00:00 2001
From: Pooja Sharma <62756-pooja_sharma@users.noreply.drupalcode.org>
Date: Wed, 11 Dec 2024 06:45:17 +0000
Subject: [PATCH] Added comments FieldCounterTest.php

---
 core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php b/core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php
index 2b04abfdb716..1fdb41fbc797 100644
--- a/core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php
@@ -133,6 +133,7 @@ public function testPager(): void {
     $this->assertEquals('3', $counter);
 
     $view->destroy();
+    // Invalidate cache to fix issue:3456341
     $view->storage->invalidateCaches();
 
     // Test using the counter start option.
-- 
GitLab