Bug 33282: Remove useless intercept
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Mon, 20 Mar 2023 18:07:27 +0000 (17:07 -0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 24 Mar 2023 08:12:53 +0000 (09:12 +0100)
JD amended patch: replace "redundant" with "useless". It's not the same
intercept, but we don't need the one removed by this patch.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/cypress/integration/Titles_spec.ts

index 5e9f16d..2f30eda 100644 (file)
@@ -157,11 +157,6 @@ describe("Title CRUD operations", () => {
                 "X-Total-Count": "1",
             },
         });
-        cy.intercept(
-            "GET",
-            "/api/v1/erm/eholdings/local/titles/*",
-            erm_title
-        );
         cy.visit("/cgi-bin/koha/erm/eholdings/local/titles");
         cy.get("#titles_list").contains("Showing 1 to 1 of 1 entries");
     });