Bugzilla – Attachment 70295 Details for
Bug 15494
Block renewals by arbitrary item values
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15494 - Followup: Make sure items in tests are not overdue
Bug-15494---Followup-Make-sure-items-in-tests-are-.patch (text/plain), 1.47 KB, created by
Nick Clemens (kidclamp)
on 2018-01-05 15:41:06 UTC
(
hide
)
Description:
Bug 15494 - Followup: Make sure items in tests are not overdue
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2018-01-05 15:41:06 UTC
Size:
1.47 KB
patch
obsolete
>From 8c195db8cc29d0bc46ce7ecb0417ef7fa2cc7b09 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 5 Jan 2018 15:39:53 +0000 >Subject: [PATCH] Bug 15494 - Followup: Make sure items in tests are not > overdue > >prove -v t/db_dependent/Circulation.t >--- > t/db_dependent/Circulation.t | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Circulation.t b/t/db_dependent/Circulation.t >index a66e5ee..f474e36 100755 >--- a/t/db_dependent/Circulation.t >+++ b/t/db_dependent/Circulation.t >@@ -2081,7 +2081,7 @@ subtest 'ItemsDeniedRenewal preference' => sub { > }); > > my $idr_borrower = $builder->build_object({ class => 'Koha::Patrons'}); >- >+ my $future = dt_from_string->add( days => 1 ); > my $deny_issue = $builder->build_object({ class => 'Koha::Checkouts', value => { > returndate => undef, > renewals => 0, >@@ -2089,6 +2089,7 @@ subtest 'ItemsDeniedRenewal preference' => sub { > borrowernumber => $idr_borrower->borrowernumber, > itemnumber => $deny_book->itemnumber, > onsite_checkout => 0, >+ date_due => $future, > } > }); > my $allow_issue = $builder->build_object({ class => 'Koha::Checkouts', value => { >@@ -2098,6 +2099,7 @@ subtest 'ItemsDeniedRenewal preference' => sub { > borrowernumber => $idr_borrower->borrowernumber, > itemnumber => $allow_book->itemnumber, > onsite_checkout => 0, >+ date_due => $future, > } > }); > >-- >2.1.4
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 15494
:
63700
|
63701
|
63702
|
63703
|
67886
|
67887
|
67888
|
67889
|
68146
|
68147
|
68148
|
68149
|
70295
|
70629
|
70630
|
70631
|
70632
|
71129
|
71130
|
71131
|
71132
|
71133
|
71134
|
71135
|
71136
|
71137
|
71138
|
79249
|
79250
|
79251
|
79252
|
79253
|
79254
|
79293
|
80327
|
80328
|
80329
|
80330
|
80331
|
80332
|
80333
|
81411
|
81412
|
81413
|
81414
|
81415
|
81416
|
81417