View | Details | Raw Unified | Return to bug 35201
Collapse All | Expand All

(-)a/t/cypress/integration/Preservation/Settings.ts (-13 / +3 lines)
Lines 38-56 describe("Processings", () => { Link Here
38
        cy.title().should("eq", "Koha staff interface");
38
        cy.title().should("eq", "Koha staff interface");
39
        cy.intercept(
39
        cy.intercept(
40
            "GET",
40
            "GET",
41
            "/cgi-bin/koha/svc/config/systempreferences/?pref=PreservationModule",
41
            "/api/v1/preservation/config",
42
            '{"value":"1"}'
42
            '{"permissions":{"manage_sysprefs":"1"},"settings":{"enabled":"1","not_for_loan_default_train_in":"42","not_for_loan_waiting_list_in": "24"}}'
43
        );
44
        cy.intercept(
45
            "GET",
46
            "/cgi-bin/koha/svc/config/systempreferences/?pref=PreservationNotForLoanWaitingListIn",
47
            '{"value":"24"}'
48
        );
49
        cy.intercept(
50
            "GET",
51
            "/cgi-bin/koha/svc/config/systempreferences/?pref=PreservationNotForLoanDefaultTrainIn",
52
            '{"value":"42"}'
53
        );
43
        );
44
54
        cy.intercept(
45
        cy.intercept(
55
            "GET",
46
            "GET",
56
            "/api/v1/authorised_value_categories/NOT_LOAN/authorised_values",
47
            "/api/v1/authorised_value_categories/NOT_LOAN/authorised_values",
57
- 

Return to bug 35201