Bugzilla – Attachment 51050 Details for
Bug 16403
Fix Holds.t (tests 9 and 39)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16403: Fix holds.t (tests 9 and 39)
Bug-16403-Fix-holdst-tests-9-and-39.patch (text/plain), 1.17 KB, created by
Marcel de Rooy
on 2016-04-30 12:44:13 UTC
(
hide
)
Description:
Bug 16403: Fix holds.t (tests 9 and 39)
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2016-04-30 12:44:13 UTC
Size:
1.17 KB
patch
obsolete
>From 271813c23f7a551740fe517d71add47fa7902e16 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Sat, 30 Apr 2016 14:36:44 +0200 >Subject: [PATCH] Bug 16403: Fix holds.t (tests 9 and 39) >Content-Type: text/plain; charset=utf-8 > >Resolves this: > >Failed test 'GetReservesFromItemnumber should return a valid borrowernumber' >at t/db_dependent/Holds.t line 97. > got: '2000001890' > expected: '2000001889' >Failed test 'Test AlterPriority(), move to bottom' >at t/db_dependent/Holds.t line 220. > got: '4' > expected: '5' > >Test plan: >Run the test before and after applying this patch. >--- > t/db_dependent/Holds.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Holds.t b/t/db_dependent/Holds.t >index 4ba95df..07e4301 100755 >--- a/t/db_dependent/Holds.t >+++ b/t/db_dependent/Holds.t >@@ -73,7 +73,7 @@ foreach my $borrowernumber ( @borrowernumbers ) { > $borrowernumber, > $biblionumber, > my $bibitems = q{}, >- my $priority = 1, >+ my $priority = C4::Reserves::CalculatePriority( $biblionumber, undef ), > my $resdate, > my $expdate, > my $notes = q{}, >-- >1.7.10.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 16403
:
51050
|
51054
|
51073
|
51074