Bug ID: 19070
           Summary: Fix Circulation/Branch.t
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
        QA Contact:

DBD::mysql::db do failed: Cannot delete or update a parent row: a foreign key
constraint fails (`koha_master`.`clubs`, CONSTRAINT `clubs_ibfk_2` FOREIGN KEY
(`branchcode`) REFERENCES `branches` (`branchcode`)) [for Statement "DELETE
FROM branches"] at t/db_dependent/Circulation/Branch.t line 49.

not ok 14 - AddReturn respects branch item return policy - noreturn
#   Failed test 'AddReturn respects branch item return policy - noreturn'
#   at t/db_dependent/Circulation/Branch.t line 279.
#          got: 'yqiKrIkX'
#     expected: undef

There is a record in clubs. The constraint in clubs on branchcode does not
include a cascaded delete. The test deletes all branches.
Test 14 depends on item-level_itypes==1. When you set it to Biblio, it fails.

You are receiving this mail because:
You are watching all bug changes.
Koha-bugs mailing list
website :
git :
bugs :

Reply via email to