[Koha-bugs] [Bug 15244] t/db_dependent/Reserves.t fails with test 14

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 1 17:21:12 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15244

Jesse Weaver <jweaver at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jweaver at bywatersolutions.co
                   |                            |m

--- Comment #1 from Jesse Weaver <jweaver at bywatersolutions.com> ---
Cannot duplicate on latest master:

[elf]:~/p/koha> prove t/db_dependent/Reserves.t -- [2015-12-01 09:12]
-----------------------------------------------------------------------------------------------------------------------
t/db_dependent/Reserves.t .. 1/73 Subroutine C4::Context::userenv redefined at
t/db_dependent/Reserves.t line 44.
t/db_dependent/Reserves.t .. 2/73 C4::Context->userenv not defined! at
/home/feoh3/p/koha/C4/Items.pm line 2336.
t/db_dependent/Reserves.t .. ok     
All tests successful.
Files=1, Tests=73,  3 wallclock secs ( 0.03 usr  0.00 sys +  1.34 cusr  0.06
csys =  1.43 CPU)
Result: PASS

That's even more worrisome, though. Marc, what's confusing to me is that
borrower 277 shouldn't exist, from my reading of the test. $requestors{RPL} is
the last borrower to be added. If this is reproducible, could you add in a:

warn Dumper( GetMember( borrowernumber =>
$messages->{ResFound}->{borrowernumber} ) );

just before the failing test?

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


More information about the Koha-bugs mailing list