From 530be93d9dbe73838a5280bf2a588b6f5e32753e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 7 Nov 2024 11:58:40 +0100 Subject: [PATCH] Bug 38128: Fix cypress test We were mocking the wrong route. --- t/cypress/integration/ERM/UserRoles_spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/cypress/integration/ERM/UserRoles_spec.ts b/t/cypress/integration/ERM/UserRoles_spec.ts index 7bc3cd410b8..db0224fabe3 100644 --- a/t/cypress/integration/ERM/UserRoles_spec.ts +++ b/t/cypress/integration/ERM/UserRoles_spec.ts @@ -24,7 +24,7 @@ describe("Add/search user", () => { }); //Intercept patrons request - cy.intercept("GET", "/api/v1/patrons*", { + cy.intercept("GET", "/api/v1/erm/users*", { statusCode: 200, body: [ { -- 2.34.1