Skip to content

Commit

Permalink
TEMP - show the whole gateways response body
Browse files Browse the repository at this point in the history
  • Loading branch information
rustyjux committed Sep 10, 2024
1 parent 072abd1 commit f6d6a9d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions e2e/cypress/tests/19-api-v3/02-organization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,11 @@ describe('Organization', () => {
cy.callAPI('ds/api/v3/organizations/ministry-of-health/gateways', 'GET').then(
({ apiRes: { status, body } }: any) => {
expect(status).to.be.equal(200)
expect(
JSON.stringify(body.filter((a: any) => a.name == 'platform').pop())
).to.be.equal(JSON.stringify(match))
// expect(
// JSON.stringify(body.filter((a: any) => a.name == 'platform').pop())
// ).to.be.equal(JSON.stringify(match))
expect(body).to.contain(match.name)
expect(body).to.contain(match.orgUnit)
}
)
})
Expand Down

0 comments on commit f6d6a9d

Please sign in to comment.