You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# FIXME: Seed the database with documents that would be included in an `alldocs` collection,
# such that the `/data_objects/study/{study_id}` endpoint (which uses that collection)
# would return some data. Currently, we are practically _not testing_ that endpoint.
Previously, there was a test that targeted the core functionality; but it was removed because it relied on a static database dump (which conformed to a specific schema) residing on the NERSC filesystem.
Related (bug report involving this endpoint): #723
The text was updated successfully, but these errors were encountered:
The only test that targets the
/data_objects/study/{study_id}
endpoint, targets a corner case where the specified study does not exist.nmdc-runtime/tests/test_api/test_endpoints.py
Lines 349 to 364 in bcdf8f3
There are no tests that target the core functionality (a.k.a. "happy path") of the endpoint.
nmdc-runtime/tests/test_api/test_endpoints.py
Lines 36 to 38 in bcdf8f3
Previously, there was a test that targeted the core functionality; but it was removed because it relied on a static database dump (which conformed to a specific schema) residing on the NERSC filesystem.
Related (bug report involving this endpoint): #723
The text was updated successfully, but these errors were encountered: