diff --git a/dataherald/tests/test_api.py b/dataherald/tests/test_api.py index c50506d3..57ee2fb4 100644 --- a/dataherald/tests/test_api.py +++ b/dataherald/tests/test_api.py @@ -15,15 +15,15 @@ def test_heartbeat(): def test_scan_all_tables(): response = client.post( - "/api/v1/scanner", json={"db_connection_id": "64dfa0e103f5134086f7090c"} + "/api/v1/table-descriptions/scan", json={"db_connection_id": "64dfa0e103f5134086f7090c"} ) assert response.status_code == HTTP_200_CODE def test_scan_one_table(): response = client.post( - "/api/v1/scanner", - json={"db_connection_id": "64dfa0e103f5134086f7090c", "table_name": "foo"}, + "/api/v1/table-descriptions/scan", + json={"db_connection_id": "64dfa0e103f5134086f7090c", "table_names": ["foo"]}, ) assert response.status_code == HTTP_404_CODE