[Koha-bugs] [Bug 19985] New: TestBuilder.t fails if default circ rule exists

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 16 19:35:18 CET 2018


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

            Bug ID: 19985
           Summary: TestBuilder.t fails if default circ rule exists
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

Set a default circ rule

vagrant at kohadevbox:kohaclone(BUGFUN)$ prove t/db_dependent/TestBuilder.t
t/db_dependent/TestBuilder.t .. 1/13 Violation of unique constraint in
DefaultCircRule at /home/vagrant/kohaclone/t/lib/TestBuilder.pm line 241.

    #   Failed test 'TestBuilder should be able to create an object for every
source'
    #   at t/db_dependent/TestBuilder.t line 78.
    #          got: '1'
    #     expected: '0'
    # The following sources have not been generated correctly: DefaultCircRule
    # Looks like you failed 1 test of 1.
t/db_dependent/TestBuilder.t .. 3/13 
#   Failed test 'Build all sources'
#   at t/db_dependent/TestBuilder.t line 84.
t/db_dependent/TestBuilder.t .. 12/13 # Looks like you failed 1 test of 13.
t/db_dependent/TestBuilder.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/13 subtests

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


More information about the Koha-bugs mailing list