[Koha-bugs] [Bug 26984] New: Tests are failing if AnonymousPatron is configured

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 10 09:48:42 CET 2020


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

            Bug ID: 26984
           Summary: Tests are failing if AnonymousPatron is configured
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org

After bug 14708 we are blocking the removal of the anonymous patron. In some
tests we are deleting data, like patrons, and the tests fail with "Deleting
patron failed, AnonymousPatron is not deleteable"

One example is t/db_dependent/Koha/Item.t
#   Failed test 'No tests run for subtest "pickup_locations"'
#   at t/db_dependent/Koha/Item.t line 340.
[Deleting patron failed, AnonymousPatron is not deleteable]# Looks like your
test exited with 255 just after 4.

We must not remove data before the tests are run.

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


More information about the Koha-bugs mailing list