Skip to content

The agent that grows with you

test(photon): fix PlatformConfig kwargs in target_not_allowed standalone test

Teknium95d303138b0a
diff --git a/tests/plugins/platforms/photon/test_overflow_recovery.py b/tests/plugins/platforms/photon/test_overflow_recovery.py
index 4deacbaca76..435be2a190b 100644
--- a/tests/plugins/platforms/photon/test_overflow_recovery.py
+++ b/tests/plugins/platforms/photon/test_overflow_recovery.py
@@ -628,7 +628,7 @@ async def test_standalone_send_classifies_target_not_allowed(
monkeypatch.setattr(photon_adapter.httpx, "AsyncClient", _FakeClient)
result = await photon_adapter._standalone_send(
- PlatformConfig(name="photon", enabled=True), "space-1", "hello",
+ PlatformConfig(enabled=True, extra={}), "space-1", "hello",
)
assert result.get("error") == photon_adapter._TARGET_NOT_ALLOWED_MESSAGE