@@ -34,7 +34,7 @@ async def test_show_set_form(hass):
3434async def test_connection_error (hass , aioclient_mock ):
3535 """Test we show user form on Twente Milieu connection error."""
3636 aioclient_mock .post (
37- "https://wasteapi.2go-mobile .com/api/FetchAdress" , exc = aiohttp .ClientError
37+ "https://twentemilieuapi.ximmio .com/api/FetchAdress" , exc = aiohttp .ClientError
3838 )
3939
4040 flow = config_flow .TwenteMilieuFlowHandler ()
@@ -49,7 +49,7 @@ async def test_connection_error(hass, aioclient_mock):
4949async def test_invalid_address (hass , aioclient_mock ):
5050 """Test we show user form on Twente Milieu invalid address error."""
5151 aioclient_mock .post (
52- "https://wasteapi.2go-mobile .com/api/FetchAdress" ,
52+ "https://twentemilieuapi.ximmio .com/api/FetchAdress" ,
5353 json = {"dataList" : []},
5454 headers = {"Content-Type" : "application/json" },
5555 )
@@ -70,7 +70,7 @@ async def test_address_already_set_up(hass, aioclient_mock):
7070 )
7171
7272 aioclient_mock .post (
73- "https://wasteapi.2go-mobile .com/api/FetchAdress" ,
73+ "https://twentemilieuapi.ximmio .com/api/FetchAdress" ,
7474 json = {"dataList" : [{"UniqueId" : "12345" }]},
7575 headers = {"Content-Type" : "application/json" },
7676 )
@@ -86,7 +86,7 @@ async def test_address_already_set_up(hass, aioclient_mock):
8686async def test_full_flow_implementation (hass , aioclient_mock ):
8787 """Test registering an integration and finishing flow works."""
8888 aioclient_mock .post (
89- "https://wasteapi.2go-mobile .com/api/FetchAdress" ,
89+ "https://twentemilieuapi.ximmio .com/api/FetchAdress" ,
9090 json = {"dataList" : [{"UniqueId" : "12345" }]},
9191 headers = {"Content-Type" : "application/json" },
9292 )
0 commit comments