From 7bd4eb728d27636321e9ac6dadd764ef5fa95af1 Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Fri, 2 Feb 2024 12:14:38 +0000 Subject: refactor: send and accept only spec-compliant AP headers --- cypress/e2e/event.cy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cypress/e2e') diff --git a/cypress/e2e/event.cy.ts b/cypress/e2e/event.cy.ts index 46e35fb..78cc2ca 100644 --- a/cypress/e2e/event.cy.ts +++ b/cypress/e2e/event.cy.ts @@ -113,7 +113,7 @@ describe("Events", () => { cy.request({ url: `/${this.eventID}/featured`, headers: { - Accept: "application/activity+json", + Accept: 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"', }, }).then((response) => { expect(response.body).to.have.property("@context"); @@ -139,7 +139,7 @@ describe("Events", () => { this.eventID }@${Cypress.env("CYPRESS_DOMAIN")}`, headers: { - Accept: "application/activity+json", + Accept: 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"', }, }).then((response) => { expect(response.body).to.have.property("subject"); -- cgit v1.2.3