# This test runs against the Events API and confirms the
# content-location header includes a prefix.
fixtures:
- ConfigFixture
- EventDataFixture

tests:

- name: get all events
  url: /v2/events
  request_headers:
      X-Roles: admin
      X-User-Id: user1
      X-Project-Id: project1
  response_headers:
      content-type: application/json; charset=UTF-8
      content-location: /$SCHEME://.*/telemetry/v2/events/
