Bugzilla – Attachment 35863 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: Add a regression test
Bug-13517-Add-a-regression-test.patch (text/plain), 1.25 KB, created by
Jonathan Druart
on 2015-02-12 10:21:19 UTC
(
hide
)
Description:
Bug 13517: Add a regression test
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-02-12 10:21:19 UTC
Size:
1.25 KB
patch
obsolete
>From d723429eff1335da8909af1931a9dfa94d12d5b0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 12 Feb 2015 11:14:28 +0100 >Subject: [PATCH] Bug 13517: Add a regression test > >Be sure GetReservesFromBiblionumber will return the waitingdate value. > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > t/db_dependent/Holds.t | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Holds.t b/t/db_dependent/Holds.t >index 4aee01b..493574b 100755 >--- a/t/db_dependent/Holds.t >+++ b/t/db_dependent/Holds.t >@@ -6,7 +6,7 @@ use t::lib::Mocks; > use C4::Context; > use C4::Branch; > >-use Test::More tests => 38; >+use Test::More tests => 39; > use MARC::Record; > use C4::Biblio; > use C4::Items; >@@ -160,6 +160,7 @@ ok( $reserve->{'reserve_id'} eq $reserve2->{'reserve_id'}, "Test GetReserveInfo( > > $reserves = GetReservesFromBiblionumber({ biblionumber => $biblionumber, all_dates => 1 }); > $reserve = $reserves->[1]; >+ok( exists($reserve->{waitingdate}), 'GetReservesFromBiblionumber returns the waitingdate value' ); > AlterPriority( 'top', $reserve->{'reserve_id'} ); > $reserve = GetReserve( $reserve->{'reserve_id'} ); > ok( $reserve->{'priority'} eq '1', "Test AlterPriority(), move to top" ); >-- >2.1.0
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