[Koha-bugs] [Bug 33229] Patron reading history should be cleared when privacy set to never

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 17 14:31:31 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33229

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tomascohen at gmail.com

--- Comment #11 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
This broke tests. Please review the consequences of this new exception thrown,
on the UI as well.

kohadev-koha at kohadevbox:koha(master)$ prove t/db_dependent/Koha/Hold.t 
t/db_dependent/Koha/Hold.t .. 1/11         # Looks like you planned 5 tests but
ran 2.

    #   Failed test 'anonymization behavior tests'
    #   at t/db_dependent/Koha/Hold.t line 265.
    # Looks like you planned 13 tests but ran 12.
    # Looks like you failed 1 test of 12 run.
t/db_dependent/Koha/Hold.t .. 2/11 
#   Failed test 'fill() tests'
#   at t/db_dependent/Koha/Hold.t line 307.
Exception 'Koha::Exceptions::SysPref::NotSet' thrown 'Required syspref is not
set' with syspref => AnonymousPatron
# Looks like your test exited with 255 just after 2.
t/db_dependent/Koha/Hold.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 10/11 subtests 

Test Summary Report
-------------------
t/db_dependent/Koha/Hold.t (Wstat: 65280 Tests: 2 Failed: 1)
  Failed test:  2
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 11 tests but ran 2.
Files=1, Tests=2,  3 wallclock secs ( 0.02 usr  0.00 sys +  2.91 cusr  0.55
csys =  3.48 CPU)
Result: FAIL

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list