From aa23eb93a981557926ff2aa2ff740be13159f91c Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 22 Aug 2026 19:17:12 +0200 Subject: [PATCH] Give the mocked cloud subscription info a real payload (#179865) Co-authored-by: Claude --- tests/components/cloud/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/components/cloud/conftest.py b/tests/components/cloud/conftest.py index 809b5a58ba58..5f2e3a6deb13 100644 --- a/tests/components/cloud/conftest.py +++ b/tests/components/cloud/conftest.py @@ -79,7 +79,7 @@ async def cloud_fixture() -> AsyncGenerator[MagicMock]: mock_cloud.started = None mock_cloud.payments = MagicMock( spec=payments_api.PaymentsApi, - subscription_info=AsyncMock(), + subscription_info=AsyncMock(return_value={"provider": None}), migrate_paypal_agreement=AsyncMock(), ) mock_cloud.ice_servers = MagicMock(