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

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #61 from David Nind <[email protected]> ---
The tests for prove t/db_dependent/Koha/Patron.t fail for me (latest main):

prove t/db_dependent/Koha/Patron.t
t/db_dependent/Koha/Patron.t .. 6/46 
    #   Failed test 'Patron has catalogue permission'
    #   at t/db_dependent/Koha/Patron.t line 826.
    #          got: undef
    #     expected: '1'
    # Looks like you failed 1 test of 2.

#   Failed test 'is_superlibrarian() tests'
#   at t/db_dependent/Koha/Patron.t line 829.
t/db_dependent/Koha/Patron.t .. 46/46 
#   Failed test 'no warnings'
#   at /usr/share/perl/5.36/Test/Builder.pm line 193.
# There were 1 warning(s)
#     Previous test 0 ''
#     Reference found where even-sized list expected at
t/db_dependent/Koha/Patron.t line 823.
#  at t/db_dependent/Koha/Patron.t line 823.
#       main::__ANON__() called at /usr/share/perl/5.36/Test/Builder.pm line
374
#       eval {...} called at /usr/share/perl/5.36/Test/Builder.pm line 374
#       Test::Builder::subtest(Test::Builder=HASH(0x5fc68e942028),
"is_superlibrarian() tests", CODE(0x5fc68e7698f0)) called at
/usr/share/perl/5.36/Test/More.pm line 809
#       Test::More::subtest("is_superlibrarian() tests", CODE(0x5fc68e7698f0))
called at t/db_dependent/Koha/Patron.t line 829
# 
# Looks like you planned 46 tests but ran 47.
# Looks like you failed 2 tests of 47 run.
t/db_dependent/Koha/Patron.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/46 subtests 

Test Summary Report
-------------------
t/db_dependent/Koha/Patron.t (Wstat: 512 (exited 2) Tests: 47 Failed: 2)
  Failed tests:  11, 47
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 46 tests but ran 47.
Files=1, Tests=47, 44 wallclock secs ( 0.09 usr  0.02 sys + 28.55 cusr 13.86
csys = 42.52 CPU)
Result: FAIL

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to