From 95d303138b0ad2271ae7c34327aaed8f82c249df Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Tue, 28 Jul 2026 11:13:28 -0700 Subject: [PATCH] test(photon): fix PlatformConfig kwargs in target_not_allowed standalone test --- tests/plugins/platforms/photon/test_overflow_recovery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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