DataBiosphere / data-store

AWS and GCP data storage system for genomic data.
https://dss.dev.ucsc-cgp-redwood.org
Other
3 stars 2 forks source link

Fix integration tests #153

Closed chmreid closed 4 years ago

chmreid commented 4 years ago

This PR contributes some fixes to help get integration tests passing.

The new Auth0 authorization layer has made deletion endopints admin-only, including for subscriptions. This PR resolves the issue by mocking the call to get the list of admin emails to be whatever emails will be in the test's tokens.

Also makes an Auth0 deletion error message more helpful.

amarjandu commented 4 years ago

i think this PR brings up a weird state of the auth0, delete method, we perhaps when we added it we were thinking of file operations, but users should be able to delete subscriptions at their own desire without admin escalation.

chmreid commented 4 years ago

Going with a different approach, per #154