mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
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:
1 parent
385cd04c10
commit
f26b065e1a
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user