Last modified: 2014-09-25 11:48:00 UTC
Database access (and other global state fixtures) make API tests very slow. We should refactor our API modules to allow all services to be injected/overwritten (perhaps using the initServices() approach used by CreateRedirectModule). Tests can then be rewritten to inject mock storage layer services and work without manipulating the database.