summaryrefslogtreecommitdiff
path: root/cypress/e2e
diff options
context:
space:
mode:
authorRaphael Kabo <raphaelkabo@hey.com>2024-02-02 12:14:38 +0000
committerRaphael Kabo <raphaelkabo@hey.com>2024-02-02 12:14:38 +0000
commit7bd4eb728d27636321e9ac6dadd764ef5fa95af1 (patch)
tree4db3ca79cc85f3022918096cd5d443d4531f0759 /cypress/e2e
parentfbd2dd29739b76e76855a3d4c87d9d43da2953c2 (diff)
refactor: send and accept only spec-compliant AP headers
Diffstat (limited to 'cypress/e2e')
-rw-r--r--cypress/e2e/event.cy.ts4
1 files changed, 2 insertions, 2 deletions
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");