mirror of
https://github.com/home-assistant/core.git
synced 2026-08-23 22:54:24 +01:00
Give the mocked cloud subscription info a real payload (#179865)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude
parent
e74ebb5fb0
commit
aa23eb93a9
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user