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 <noreply@anthropic.com>
This commit is contained in:
loks0nandClaude Opus 4.7 committed 2026-05-19 23:31:59 +01:00
1 parent 385cd04c10
commit f26b065e1a
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}
}