https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42914 --- Comment #6 from David Nind <david@davidnind.com> --- (In reply to Baptiste Wojtkowski (bwoj) from comment #5)
I can't reproduce on a fresh ktd =/ Don't you have the issue before removing the MANUAL entry ?
I ran through all the possible options I could think of when running the tests using KTD: 1. PatronRestrictionTypes system preference value left as "Don't allow" (the default for KTD). 2. Before the patch: - prove t/db_dependent/Circulation.t t/db_dependent/Members.t t/db_dependent/Patron/Borrower_Debarments.t ==> Tests PASS 3. After the patch, no change to restrictions: ==> Tests PASS 4. After the patch, new authorized value added (named TEST), MANUAL authorized value left in place and left as the default: ==> Tests FAIL 5. After the patch, new authorized value (TEST) made the default, MANUAL authorized value left in place: ==> Tests FAIL 6. After the patch, new authorized value (TEST) left as the default, MANUAL authorized value deleted: ==> Tests FAIL 7. Set the PatronRestrictionTypes system preference set to "Allow". 8. Repeat steps 2 to 6: - Step 2: Tests PASS - Step 3: Tests PASS - Step 4: Tests FAIL - Step 5: Tests FAIL - Step 6: Tests FAIL The test failure is the same in call cases where they fail: ... Test Summary Report ------------------- t/db_dependent/Patron/Borrower_Debarments.t (Wstat: 1024 (exited 4) Tests: 40 Failed: 4) Failed tests: 36-38, 40 Non-zero exit status: 4 Files=3, Tests=180, 53 wallclock secs ( 0.13 usr 0.01 sys + 38.04 cusr 10.45 csys = 48.63 CPU) Result: FAIL -- You are receiving this mail because: You are watching all bug changes.