[Koha-bugs] [Bug 17538] New: t/db_dependent/Upload.t is broken

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 2 12:01:47 CET 2016


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

            Bug ID: 17538
           Summary: t/db_dependent/Upload.t is broken
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: jonathan.druart at bugs.koha-community.org
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 17216

% prove t/db_dependent/Upload.t
t/db_dependent/Upload.t .. 1/8 DBD::mysql::db do failed: Cannot add or update a
child row: a foreign key constraint fails (`koha_kohadev`.`authorised_values`,
CONSTRAINT `authorised_values_authorised_values_category` FOREIGN KEY
(`category`) REFERENCES `authorised_value_categories` (`category_name`) ON
DELETE CASC) [for Statement "INSERT INTO authorised_values (category,
authorised_value, lib) VALUES (?,?,?) "] at t/db_dependent/Upload.t line 164.

    #   Failed test 'getCategories returned at least one category'
    #   at t/db_dependent/Upload.t line 166.
    #          got: ''
    #     expected: '1'
    # Looks like you failed 1 test of 2.

#   Failed test 'Test07'
#   at t/db_dependent/Upload.t line 76.
# Looks like you failed 1 test of 8.
t/db_dependent/Upload.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/8 subtests 

Test Summary Report
-------------------
t/db_dependent/Upload.t (Wstat: 256 Tests: 8 Failed: 1)
  Failed test:  7
  Non-zero exit status: 1
Files=1, Tests=8,  1 wallclock secs ( 0.02 usr  0.00 sys +  0.88 cusr  0.65
csys =  1.55 CPU)
Result: FAIL


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17216
[Bug 17216] Add a new table to store authorized value categories
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list