Bug 20250: (bug 19529 follow-up) Prevent NoIssuesChargeGuarantees.t to fail randomly
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 19 Feb 2018 20:40:06 +0000 (17:40 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 27 Mar 2018 09:55:05 +0000 (11:55 +0200)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Conflicts:
t/db_dependent/Circulation/NoIssuesChargeGuarantees.t

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit b671510474fc00e82d5dbec0ff59c92bea7bcb31)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

t/db_dependent/Circulation/NoIssuesChargeGuarantees.t

index 5f07c6b..7babf5d 100644 (file)
@@ -45,7 +45,7 @@ my $patron = $builder->build(
     {
         source => 'Borrower',
         value => {
-            patron_category => $patron_category->{categorycode},
+            categorycode => $patron_category->{categorycode},
         }
     }
 );
@@ -54,7 +54,7 @@ my $guarantee = $builder->build(
         source => 'Borrower',
         value  => {
             guarantorid => $patron->{borrowernumber},
-            patron_category => $patron_category->{categorycode},
+            categorycode => $patron_category->{categorycode},
         }
     }
 );