From 7431159d630bafacfdd5fb93a445eb92eec9d6b0 Mon Sep 17 00:00:00 2001 From: Ash Davies <3853061+DrizzlyOwl@users.noreply.github.com> Date: Mon, 9 Dec 2024 16:20:24 +0000 Subject: [PATCH] Adjust expected response from HealthCheck test (#655) --- .../cypress/e2e/v1/healthchecks.cy.js | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/CypressTests/cypress/e2e/v1/healthchecks.cy.js b/CypressTests/cypress/e2e/v1/healthchecks.cy.js index 373ce0d49..aa9fcef5d 100644 --- a/CypressTests/cypress/e2e/v1/healthchecks.cy.js +++ b/CypressTests/cypress/e2e/v1/healthchecks.cy.js @@ -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) - }) - }) - }) - })