From f26b065e1a31b8954c06c8e6438fad16c0592e41 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Tue, 19 May 2026 23:31:59 +0100 Subject: [PATCH] test: adapter setTelemetry now called once, not twice The constructor no longer routes through setTelemetry(), so feature-aware adapters only receive propagation from explicit setTelemetry() calls. Co-Authored-By: Claude Opus 4.7 --- tests/Cache/E2E/TelemetryTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Cache/E2E/TelemetryTest.php b/tests/Cache/E2E/TelemetryTest.php index 3824dbc4a4..386738bc32 100644 --- a/tests/Cache/E2E/TelemetryTest.php +++ b/tests/Cache/E2E/TelemetryTest.php @@ -32,6 +32,6 @@ class TelemetryTest extends TestCase $cache->setTelemetry($telemetry); $this->assertSame($telemetry, $adapter->telemetry); - $this->assertEquals(2, $adapter->calls); + $this->assertEquals(1, $adapter->calls); } }