Bugzilla – Attachment 98720 Details for
Bug 19014
Patrons should not get an 'on_reserve' notification if the due date is far into the future
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19014: (QA follow-up) Update test for AddReserve change
Bug-19014-QA-follow-up-Update-test-for-AddReserve-.patch (text/plain), 1.69 KB, created by
Martin Renvoize
on 2020-02-11 16:41:32 UTC
(
hide
)
Description:
Bug 19014: (QA follow-up) Update test for AddReserve change
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2020-02-11 16:41:32 UTC
Size:
1.69 KB
patch
obsolete
>From fc981dc7d952d803ecad4e697e0c169a174c6021 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 11 Feb 2020 16:40:04 +0000 >Subject: [PATCH] Bug 19014: (QA follow-up) Update test for AddReserve change > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > t/db_dependent/Circulation.t | 16 +++++++++++++--- > 1 file changed, 13 insertions(+), 3 deletions(-) > >diff --git a/t/db_dependent/Circulation.t b/t/db_dependent/Circulation.t >index 41ed041b9f..38502941dd 100755 >--- a/t/db_dependent/Circulation.t >+++ b/t/db_dependent/Circulation.t >@@ -628,9 +628,19 @@ subtest "CanBookBeRenewed tests" => sub { > is( $error, 'auto_too_soon', > 'Bug 14101: Cannot renew, renewal is automatic and premature, "No renewal before" = undef (returned code is auto_too_soon)' ); > AddReserve( >- $branch, $reserving_borrowernumber, $biblio->biblionumber, >- $bibitems, $priority, $resdate, $expdate, $notes, >- 'a title', $item_4->itemnumber, $found >+ { >+ branchcode => $branch, >+ borrowernumber => $reserving_borrowernumber, >+ biblionumber => $biblio->biblionumber, >+ itemnumber => $bibitems, >+ priority => $priority, >+ reservation_date => $resdate, >+ expiration_date => $expdate, >+ notes => $notes, >+ title => 'a title', >+ itemnumber => $item_4->itemnumber, >+ found => $found >+ } > ); > ( $renewokay, $error ) = CanBookBeRenewed( $renewing_borrowernumber, $item_4->itemnumber ); > is( $renewokay, 0, 'Still should not be able to renew' ); >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19014
:
65590
|
86960
|
90509
|
95348
|
95851
|
95852
|
96688
|
96689
|
97374
|
97395
|
97396
|
97397
|
98704
|
98705
|
98706
|
98717
|
98718
|
98719
| 98720 |
100180