bugraoz93 commented on code in PR #45363:
URL: https://github.com/apache/airflow/pull/45363#discussion_r1904771454


##########
tests/api_fastapi/core_api/routes/public/test_connections.py:
##########
@@ -796,3 +796,10 @@ def test_should_respond_403_by_default(self, test_client, 
body):
             "detail": "Testing connections is disabled in Airflow 
configuration. "
             "Contact your deployment admin to enable it."
         }
+
+
+class TestCreateDefaultConnections(TestConnectionEndpoint):
+    def test_should_respond_204(self, test_client):
+        response = test_client.post("/public/connections/defaults")
+        assert response.status_code == 204
+        assert response.content == b""

Review Comment:
   Nice point, included. Thanks! 



-- 
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