Ghost/test/e2e-api
Hannah Wolfe c6ae3c30d8 Moved content-version middleware onto api app
closes: https://github.com/TryGhost/Toolbox/issues/319

- at the moment, content-version is only set if one of our endpoints touches the request
  - this was demonstrated in the e2e tests, where many of the tests that set accept-version did not receive accept-version
- by moving the middleware out of the http module and onto the api app we ensure it's always done
- I put the code in the api-version-compatibility service to keep it all co-located
- ideally we will refactor that service slightly so it only exposes middleware
2022-05-02 19:05:14 +01:00
..
admin Swapped etag matcher to always be anyEtag 2022-05-02 11:05:07 +01:00
content Updated tests to use DatabaseInfo 2022-03-17 17:33:11 +00:00
members Fixed mockLabs disabling all other flags (#14621) 2022-04-28 10:55:20 +02:00
shared Moved content-version middleware onto api app 2022-05-02 19:05:14 +01:00