From d136019508b9ced83330aa9b168db02c5c3907b6 Mon Sep 17 00:00:00 2001
From: catch <6915-catch@users.noreply.drupalcode.org>
Date: Tue, 7 Jan 2025 20:02:25 +0000
Subject: [PATCH] Issue #3497996 by catch: Update performance tests for new
 Coffee release

---
 .../tests/src/FunctionalJavaScript/PerformanceTest.php      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes/drupal_cms_starter/tests/src/FunctionalJavaScript/PerformanceTest.php b/recipes/drupal_cms_starter/tests/src/FunctionalJavaScript/PerformanceTest.php
index 9d0ba124..39e0d033 100644
--- a/recipes/drupal_cms_starter/tests/src/FunctionalJavaScript/PerformanceTest.php
+++ b/recipes/drupal_cms_starter/tests/src/FunctionalJavaScript/PerformanceTest.php
@@ -86,12 +86,12 @@ class PerformanceTest extends PerformanceTestBase {
     // @todo assert individual queries once Coffee does not result in an
     // additional AJAX request on every request.
     // @see https://www.drupal.org/project/coffee/issues/2453585
-    $this->assertSame(44, $performance_data->getQueryCount());
-    $this->assertSame(188, $performance_data->getCacheGetCount());
+    $this->assertSame(11, $performance_data->getQueryCount());
+    $this->assertSame(111, $performance_data->getCacheGetCount());
     $this->assertSame(0, $performance_data->getCacheSetCount());
     $this->assertSame(0, $performance_data->getCacheDeleteCount());
     $this->assertSame(0, $performance_data->getCacheTagChecksumCount());
-    $this->assertSame(83, $performance_data->getCacheTagIsValidCount());
+    $this->assertSame(33, $performance_data->getCacheTagIsValidCount());
     $this->assertSame(0, $performance_data->getCacheTagInvalidationCount());
     $this->assertSame(3, $performance_data->getStylesheetCount());
     $this->assertSame(3, $performance_data->getScriptCount());
-- 
GitLab