Bugzilla – Attachment 83301 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.14 KB, created by
Jonathan Druart
on 2018-12-17 15:19:02 UTC
(
hide
)
Description:
Bug 19489: Cover non-existent issue
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-12-17 15:19:02 UTC
Size:
1.14 KB
patch
obsolete
>From d0dda7f1bc04e839c7bfd260759d33b708bf731d 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 > >--- > 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 54f5321314..56c12c826c 100755 >--- a/t/db_dependent/Koha/Account/Lines.t >+++ b/t/db_dependent/Koha/Account/Lines.t >@@ -274,7 +274,7 @@ subtest 'apply() tests' => sub { > > subtest 'issue() tests' => sub { > >- plan tests => 5; >+ plan tests => 6; > > $schema->storage->txn_begin; > >@@ -308,5 +308,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