[Koha-bugs] [Bug 11551] Allow to search on ordernumber in histsearch.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 16 21:16:58 CET 2014


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

AlexHorsman <dhorsman at xtra.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dhorsman at xtra.co.nz

--- Comment #4 from AlexHorsman <dhorsman at xtra.co.nz> ---
trying to test this:
prove t/db_dependent/Acquisition.t

but getting this error:

t/db_dependent/Acquisition.t .. 1/66 Use of uninitialized value $orderstatus in
string ne at /usr/share/koha/lib/C4/Acquisition.pm line 2242.

#   Failed test 'GetHistory with a given ordernumber returns 1 order'
#   at t/db_dependent/Acquisition.t line 184.
#          got: '4'
#     expected: '1'
Use of uninitialized value $orderstatus in string ne at
/usr/share/koha/lib/C4/Acquisition.pm line 2242.

#   Failed test 'GetHistory with a given ordernumber and search_children_too
set returns 2 orders'
#   at t/db_dependent/Acquisition.t line 186.
#          got: '4'
#     expected: '2'
# Looks like you failed 2 tests of 66.
t/db_dependent/Acquisition.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/66 subtests 

Test Summary Report
-------------------
t/db_dependent/Acquisition.t (Wstat: 512 Tests: 66 Failed: 2)
  Failed tests:  56-57
  Non-zero exit status: 2
Files=1, Tests=66,  1 wallclock secs ( 0.06 usr  0.00 sys +  0.94 cusr  0.07
csys =  1.07 CPU)
Result: FAIL

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


More information about the Koha-bugs mailing list