Skip to content

Commit

Permalink
Adjust expected response from HealthCheck test (#655)
Browse files Browse the repository at this point in the history
  • Loading branch information
DrizzlyOwl authored Dec 9, 2024
1 parent f1762c9 commit 7431159
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions CypressTests/cypress/e2e/v1/healthchecks.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,9 @@ describe("Health and Database Checks", () => {
}
})
.then((response) => {
expect(response.body).to.contain('Health check ok')
expect(response.body).to.contain('Healthy')
expect(response.status).to.eq(200)
})
})
})

context('Database check endpoint', () => {
it('should return a healthy response', () => {
cy.api({
url: `${url}/check_db`,
headers: {
ApiKey: apiKey,
"Content-type": "application/json"
}
})
.then((response) => {
expect(response.status).to.eq(200)
expect(response.body).to.eq(true)
})
})
})

})

0 comments on commit 7431159

Please sign in to comment.