Bugzilla – Attachment 51073 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.33 KB, created by
Jonathan Druart
on 2016-05-02 09:31:56 UTC
(
hide
)
Description:
Bug 16403: Fix holds.t (tests 9 and 39)
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-05-02 09:31:56 UTC
Size:
1.33 KB
patch
obsolete
>From b0e2799a8a4349bfd7aad204b7c9cb708a3441fa 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) >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >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. > >Signed-off-by: Marc Véron <veron@veron.ch> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > 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{}, >-- >2.7.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 16403
:
51050
|
51054
| 51073 |
51074