Open sy238-unikent opened 6 years ago
Short term I think testing making requests at the API level would be a good start: https://laravel.com/docs/5.4/http-tests#testing-json-apis
Fixtures:
Starting with tests around the createsite api endpoint.
Needs more work in 2018... https://github.com/unikent/astro/tree/feature/api-feature-tests
Need to setup a good framework for testing the API, including fixture data, etc.
As part of that, lets fix all the not currently implemented test stubs.