diff options
author | Raphael <mail@raphaelkabo.com> | 2024-02-02 14:23:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 14:23:17 +0000 |
commit | ecff04b132db687f67d9a6cda2d1c13831c45394 (patch) | |
tree | 4db3ca79cc85f3022918096cd5d443d4531f0759 /cypress/e2e/event.cy.ts | |
parent | fbd2dd29739b76e76855a3d4c87d9d43da2953c2 (diff) | |
parent | 7bd4eb728d27636321e9ac6dadd764ef5fa95af1 (diff) |
Merge pull request #127 from lowercasename/rk/spec-compliant-ap-headers
Send and accept only spec-compliant ActivityPub headers
Diffstat (limited to 'cypress/e2e/event.cy.ts')
-rw-r--r-- | cypress/e2e/event.cy.ts | 4 |
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"); |