[Koha-bugs] [Bug 27064] Transferring an item with a hold allows the user to set a hold waiting without transferring to the correct branch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 15 10:08:00 CEST 2021


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

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |additional_work_needed

--- Comment #51 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Failing tests, please fix ASAP

kohadev-koha at kohadevbox:/kohadevbox/koha$ prove
t/db_dependent/Circulation/transferbook.t                                      
                                                                            
[4/69]
t/db_dependent/Circulation/transferbook.t .. 2/6 
    #   Failed test 'Transfer of reserved item succeeded without ignore
reserves'
    #   at t/db_dependent/Circulation/transferbook.t line 151.                  
    #          got: '0'
    #     expected: '1'                   
    # Looks like you failed 1 test of 5.

#   Failed test 'transfer already at destination'
#   at t/db_dependent/Circulation/transferbook.t line 154.

    #   Failed test 'Transfer of reserved item succeeded without ignore
reserves'
    #   at t/db_dependent/Circulation/transferbook.t line 208.
    #          got: '0'
    #     expected: '1'
    # Looks like you failed 1 test of 5.
t/db_dependent/Circulation/transferbook.t .. 4/6 
#   Failed test 'transfer an issued item'
#   at t/db_dependent/Circulation/transferbook.t line 212.

    #   Failed test 'Transfer of reserved item succeeded without ignore
reserves'
    #   at t/db_dependent/Circulation/transferbook.t line 248.
    #          got: '0'
    #     expected: '1'

    #   Failed test 'Transfer of reserved item succeeded with ignore reserves:
false'
    #   at t/db_dependent/Circulation/transferbook.t line 260.
    #          got: '0'
    #     expected: '1'

    #   Failed test 'We got the expected failure message:
DestinationEqualsHolding'
    #   at t/db_dependent/Circulation/transferbook.t line 273.
    #     Structures begin differing at:
    #          $got->{ResFound} = HASH(0x558e901b2fa0)
    #     $expected->{ResFound} = Does not exist

    #   Failed test 'We did not return that we found a reserve'
    #   at t/db_dependent/Circulation/transferbook.t line 278.
    #          got: 'Reserved'
    #     expected: anything else

    #   Failed test 'We did not return the reserve info'
    #   at t/db_dependent/Circulation/transferbook.t line 279.
    #          got: '989'
    #     expected: anything else
    # Looks like you failed 5 tests of 10.

#   Failed test 'ignore_reserves flag'
#   at t/db_dependent/Circulation/transferbook.t line 280.
t/db_dependent/Circulation/transferbook.t .. 6/6 # Looks like you failed 3
tests of 6.

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


More information about the Koha-bugs mailing list