diff --git a/tests/components/google_mail/conftest.py b/tests/components/google_mail/conftest.py index 61704006d6cb..8fe96af0b7a5 100644 --- a/tests/components/google_mail/conftest.py +++ b/tests/components/google_mail/conftest.py @@ -121,7 +121,7 @@ async def mock_setup_integration( ), ), ): - assert await async_setup_component(hass, DOMAIN, {}) + await hass.config_entries.async_setup(config_entry.entry_id) await hass.async_block_till_done() return func