wellcomecollection / catalogue-api

:crystal_ball: The API for searching the Wellcome Collection catalogue.
https://developers.wellcomecollection.org
MIT License
4 stars 0 forks source link

Use a different record for the smoke test #791

Closed paul-butcher closed 4 months ago

paul-butcher commented 4 months ago

The smoke tests have started failing because of a change in the underlying data. Nature (awa6c6gm, redirecting to vruhajjv) does not have items, which means that the test on lines 42-48 have now started failing because "/works/awa6c6gm/items" returns a 500 error.

Leaving aside that it should probably return a client error rather than a server error, it is still necessary to change this test to use a record that returns 200 when items are requested.