Bugzilla – Attachment 40893 Details for
Bug 13517
Show waiting date on reserve/request.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13517 [QA Followup] - Fix unit tests
Bug-13517-QA-Followup---Fix-unit-tests.patch (text/plain), 1.29 KB, created by
Kyle M Hall (khall)
on 2015-07-09 15:25:39 UTC
(
hide
)
Description:
Bug 13517 [QA Followup] - Fix unit tests
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-07-09 15:25:39 UTC
Size:
1.29 KB
patch
obsolete
>From 63cb9736d9cb8994b38099ce2db5c0b0aecadb9f Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 9 Jul 2015 11:24:00 -0400 >Subject: [PATCH] Bug 13517 [QA Followup] - Fix unit tests > >--- > t/db_dependent/Hold.t | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/Hold.t b/t/db_dependent/Hold.t >index a91917c..53ee364 100755 >--- a/t/db_dependent/Hold.t >+++ b/t/db_dependent/Hold.t >@@ -49,7 +49,7 @@ is( $dt, undef, "Koha::Hold->waiting_expires_on returns undef if ReservesMaxPick > > is( $hold->is_waiting, 1, 'The hold is waiting' ); > is( $hold->is_found, 1, 'The hold is found'); >-isnt( $hold->is_in_transit, 'The hold is not in transit' ); >+ok( !$hold->is_in_transit, 'The hold is not in transit' ); > > C4::Context->set_preference( 'ReservesMaxPickUpDelay', '5' ); > $dt = $hold->waiting_expires_on(); >@@ -67,7 +67,7 @@ $dt = $hold->waiting_expires_on(); > is( $dt, undef, "Koha::Hold->waiting_expires_on returns undef if found is not 'W' ( Set to empty string )"); > isnt( $hold->is_waiting, 1, 'The hold is not waiting (W)' ); > is( $hold->is_found, 0, 'The hold is not found' ); >-isnt( $hold->is_in_transit, 'The hold is not in transit' ); >+ok( !$hold->is_in_transit, 'The hold is not in transit' ); > > $schema->storage->txn_rollback(); > >-- >1.7.2.5
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 13517
:
34958
|
34959
|
35454
|
35834
|
35861
|
35862
|
35863
|
36983
|
36986
|
40025
|
40032
|
40036
|
40676
|
40677
|
40892
|
40893
|
40898
|
40899
|
40900
|
42604
|
42605
|
42606
|
43066
|
43067
|
43068