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
{{ message }}
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
Right now, The TO "API Tests" don't use seeds.sql, which has a number of issues:
The sql commands required by the tests have to be copy-pasted into the tests. For example, for capabilities, this is 200+ lines of duplicate code.
Changes to seeds.sql will break the tests, unless they're also copy-pasted in.
Changes to seeds.sql which change behavior could break an endpoint, but the "API Tests" will still pass because they're copy-pasted.
The seeds.sql is not being tested. Ideally, the TO tests should verify that the seeds.sql works correctly, as part of verifying TO works.
The "API Test" framework should be changed to use seed.sql, rather than copying its contents, to fix these issues, and improve test coverage in general.