]> git.koha-community.org Git - koha.git/commit
Bug 23820: Fix Koha/Club/Hold.t
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 21 Jul 2020 08:08:02 +0000 (10:08 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 27 Jul 2020 16:47:38 +0000 (16:47 +0000)
commit867b19c7df5c8a837e8c9ce631a3e9d95f31060f
tree3c8f39c23bb4a51504e6180d4fd28a617aa210d1
parent0595b52147273e21bbd41aefb111df3e2777d546
Bug 23820: Fix Koha/Club/Hold.t

kohadev-koha@kohadevbox:/kohadevbox/koha$ prove t/db_dependent/Koha/Club/Hold.t
t/db_dependent/Koha/Club/Hold.t .. Patron(238) Hold cannot be placed. Reason: libraryNotPickupLocation at /kohadevbox/koha/Koha/Club/Hold.pm line 98.
    # Looks like you planned 5 tests but ran 4.
t/db_dependent/Koha/Club/Hold.t .. 1/1
 #   Failed test 'add'
 #   at t/db_dependent/Koha/Club/Hold.t line 86.
Can't call method "borrowernumber" on an undefined value at t/db_dependent/Koha/Club/Hold.t line 83.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 4f5f5d88b98c2d1f6cc20bc6be6f5b41fb7d3c48)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
t/db_dependent/Koha/Club/Hold.t