Bugzilla – Attachment 53016 Details for
Bug 14968
found shouldn't be set to null when cancelling holds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14968 - Provides unit test
Bug-14968---Provides-unit-test.patch (text/plain), 1.27 KB, created by
Jonathan Druart
on 2016-07-01 14:34:56 UTC
(
hide
)
Description:
Bug 14968 - Provides unit test
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-07-01 14:34:56 UTC
Size:
1.27 KB
patch
obsolete
>From fa237fb54e59285afb25b73820f768c9b06ab17d Mon Sep 17 00:00:00 2001 >From: Alex Arnaud <alex.arnaud@biblibre.com> >Date: Wed, 15 Jun 2016 16:11:07 +0200 >Subject: [PATCH] Bug 14968 - Provides unit test > >Signed-off-by: Broust <jean-manuel.broust@univ-lyon2.fr> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/db_dependent/Reserves.t | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Reserves.t b/t/db_dependent/Reserves.t >index cfc6eee..1852ae6 100755 >--- a/t/db_dependent/Reserves.t >+++ b/t/db_dependent/Reserves.t >@@ -17,7 +17,7 @@ > > use Modern::Perl; > >-use Test::More tests => 73; >+use Test::More tests => 74; > use Test::Warn; > > use MARC::Record; >@@ -580,6 +580,9 @@ ok( $bz14464_reserve, 'Bug 14464 - 1st reserve correctly created' ); > > CancelReserve({ reserve_id => $bz14464_reserve, charge_cancel_fee => 1 }); > >+my $old_reserve = Koha::Database->new()->schema()->resultset('OldReserve')->find( $bz14464_reserve ); >+is($old_reserve->get_column('found'), 'W', 'Bug 14968 - Keep found column from reserve'); >+ > ( undef, undef, $bz14464_fines ) = GetMemberIssuesAndFines( $borrowernumber ); > is( !$bz14464_fines || $bz14464_fines==0, 1, 'Bug 14464 - No fines after cancelling reserve with no charge configured' ); > >-- >2.8.1
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 14968
:
43173
|
45775
|
52431
|
52941
|
52942
|
53015
| 53016