stephen-bracken commented on code in PR #70783:
URL: https://github.com/apache/airflow/pull/70783#discussion_r3768520587


##########
airflow-core/tests/unit/api_fastapi/auth/middlewares/test_refresh_token.py:
##########
@@ -146,15 +146,15 @@ async def test_dispatch_with_refreshed_user(
             pytest.param("http", "", False, id="http-no-local-ssl-cert"),
         ],
     )
+    
@patch("airflow.api_fastapi.auth.middlewares.refresh_token.request_cookie_is_secure")
     
@patch("airflow.api_fastapi.auth.middlewares.refresh_token.get_auth_manager")
     
@patch("airflow.api_fastapi.auth.middlewares.refresh_token.resolve_user_from_token")
-    @patch("airflow.api_fastapi.auth.middlewares.refresh_token.conf")
     @pytest.mark.asyncio
     async def test_dispatch_cookie_secure_flag(

Review Comment:
   removed the mock, its not necessary



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to