[Koha-bugs] [Bug 12598] New misc/import_borrowers.pl command line tool

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jun 19 14:06:18 CEST 2016


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

--- Comment #119 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
2 Tests are failing
t/db_dependent/Koha/Patrons/Import.t .. 2/124     
    #   Failed test 'Got the expected array size from set column keys with
undef extended'
    #   at t/db_dependent/Koha/Patrons/Import.t line 398.
    #          got: '67'
    #     expected: '66'

    #   Failed test 'Got the expected array size from set column keys with
extended'
    #   at t/db_dependent/Koha/Patrons/Import.t line 405.
    #          got: '68'
    #     expected: '67'
    # Looks like you failed 2 tests of 2

I guess it's because a new column has been added to the borrowers table.
Maybe it would be better to test that
  @columnkeys_1 = @columnkeys_0 + 1
don't you think?
It would avoid these 2 tests to fail each time a new column is added/removed to
this table.

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


More information about the Koha-bugs mailing list