Bugzilla – Attachment 174111 Details for
Bug 38128
Agreement/license user selection not limited to users with ERM module permissions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38128: Fix cypress test
Bug-38128-Fix-cypress-test.patch (text/plain), 886 bytes, created by
Jonathan Druart
on 2024-11-07 10:59:24 UTC
(
hide
)
Description:
Bug 38128: Fix cypress test
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-11-07 10:59:24 UTC
Size:
886 bytes
patch
obsolete
>From 530be93d9dbe73838a5280bf2a588b6f5e32753e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38128
:
172556
|
172558
|
173510
| 174111