Bug 20490: Correct bug number typo in comment in Circulation.t
authorLari Taskula <lari.taskula@jns.fi>
Wed, 28 Mar 2018 21:19:52 +0000 (21:19 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 22 May 2018 09:32:18 +0000 (11:32 +0200)
NOTE: Confirmed that the typo of 17641 was part of bug 17941.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 6852c592f7f81b3d76b1ccfd38264bcd9cc75a61)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

t/db_dependent/Circulation.t

index 359f7a9..dce349c 100755 (executable)
@@ -1486,7 +1486,7 @@ subtest 'MultipleReserves' => sub {
 
     {
         my ( $renewokay, $error ) = CanBookBeRenewed($renewing_borrowernumber, $itemnumber1, 1);
-        is($renewokay, 0, 'Bug 17641 - should cover the case where 2 books are both reserved, so failing');
+        is($renewokay, 0, 'Bug 17941 - should cover the case where 2 books are both reserved, so failing');
     }
 
     my $barcode3 = 'R00110003';
@@ -1503,7 +1503,7 @@ subtest 'MultipleReserves' => sub {
 
     {
         my ( $renewokay, $error ) = CanBookBeRenewed($renewing_borrowernumber, $itemnumber1, 1);
-        is($renewokay, 1, 'Bug 17641 - should cover the case where 2 books are reserved, but a third one is available');
+        is($renewokay, 1, 'Bug 17941 - should cover the case where 2 books are reserved, but a third one is available');
     }
 };