Bugzilla – Attachment 83620 Details for
Bug 19489
Detailed description of charges on Accounting tab
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19489: Cover non-existent issue
Bug-19489-Cover-non-existent-issue.patch (text/plain), 1.22 KB, created by
Nick Clemens
on 2019-01-03 14:32:43 UTC
(
hide
)
Description:
Bug 19489: Cover non-existent issue
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2019-01-03 14:32:43 UTC
Size:
1.22 KB
patch
obsolete
>From aebfca4e771974c8c1edc3033addbcd767e080bf Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 17 Dec 2018 12:14:04 -0300 >Subject: [PATCH] Bug 19489: Cover non-existent issue > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > t/db_dependent/Koha/Account/Lines.t | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Koha/Account/Lines.t b/t/db_dependent/Koha/Account/Lines.t >index 6a96dc2130..eab42db643 100755 >--- a/t/db_dependent/Koha/Account/Lines.t >+++ b/t/db_dependent/Koha/Account/Lines.t >@@ -301,7 +301,7 @@ subtest 'Keep account info when a patron is deleted' => sub { > > subtest 'issue() tests' => sub { > >- plan tests => 5; >+ plan tests => 6; > > $schema->storage->txn_begin; > >@@ -335,5 +335,8 @@ subtest 'issue() tests' => sub { > is( ref($old_line_issue), 'Koha::Old::Checkout', 'Result type is correct' ); > is( $old_line_issue->issue_id, $old_checkout->issue_id, 'Koha::Account::Line->issue should return the correct old_issue' ); > >+ $line->issue_id(undef)->store; >+ is( $line->issue, undef, 'Koha::Account::Line->issue should return undef if no issue linked' ); >+ > $schema->storage->txn_rollback; > }; >-- >2.11.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 19489
:
81956
|
81989
|
81991
|
82519
|
82520
|
82614
|
82615
|
82846
|
83109
|
83110
|
83242
|
83276
|
83277
|
83299
|
83300
|
83301
|
83618
|
83619
|
83620
|
85236
|
85237
|
85275
|
85315
|
85668
|
85669
|
85670
|
85671
|
85672
|
85673
|
85674
|
85675
|
85731
|
85732
|
85733
|
85734
|
85735
|
85736
|
85737
|
85738