Bugzilla – Attachment 74584 Details for
Bug 20562
issue_id is not stored in accountlines for rental fees
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20562: Fix unit test
Bug-20562-Fix-unit-test.patch (text/plain), 1.18 KB, created by
Kyle M Hall (khall)
on 2018-04-19 18:36:26 UTC
(
hide
)
Description:
Bug 20562: Fix unit test
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2018-04-19 18:36:26 UTC
Size:
1.18 KB
patch
obsolete
>From 294457f900e94bec1d13a1544fe6615f695ed444 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 19 Apr 2018 18:33:44 +0000 >Subject: [PATCH] Bug 20562: Fix unit test > >--- > t/db_dependent/Circulation/Returns.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Circulation/Returns.t b/t/db_dependent/Circulation/Returns.t >index e97ebe3bde..804e7de88d 100644 >--- a/t/db_dependent/Circulation/Returns.t >+++ b/t/db_dependent/Circulation/Returns.t >@@ -327,7 +327,7 @@ subtest 'Handle ids duplication' => sub { > is( $messages->{DataCorrupted}, 1, 'messages should have the DataCorrupted flag set to 1' ); > > my $account_lines = Koha::Account::Lines->search({ borrowernumber => $patron->borrowernumber, issue_id => $issue_id }); >- is( $account_lines->count, 0, 'No account lines should exist for this issue_id, patron should not have been charged' ); >+ is( $account_lines->count, 1, 'One account line should exist for this issue_id, the patron was charged a rental fee by AddIssue' ); > > is( Koha::Checkouts->find( $issue_id )->issue_id, $issue_id, 'The issues entry should not have been removed' ); > }; >-- >2.15.1 (Apple Git-101)
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 20562
:
74019
|
74020
|
74021
|
74102
|
74240
|
74250
|
74253
|
74584
|
74586