Bugzilla – Attachment 87600 Details for
Bug 21953
Term "Lost item" is untranslatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21953: Add tests
Bug-21953-Add-tests.patch (text/plain), 1.33 KB, created by
Martin Renvoize (ashimema)
on 2019-04-09 12:11:07 UTC
(
hide
)
Description:
Bug 21953: Add tests
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2019-04-09 12:11:07 UTC
Size:
1.33 KB
patch
obsolete
>From d310f0ca45544ee83adfde04107fc46728fb5ff0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 6 Mar 2019 16:00:09 -0300 >Subject: [PATCH] Bug 21953: Add tests > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > t/db_dependent/Circulation.t | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Circulation.t b/t/db_dependent/Circulation.t >index 7cd55479c4..44600ed12b 100755 >--- a/t/db_dependent/Circulation.t >+++ b/t/db_dependent/Circulation.t >@@ -18,7 +18,7 @@ > use Modern::Perl; > use utf8; > >-use Test::More tests => 125; >+use Test::More tests => 126; > use Test::MockModule; > > use Data::Dumper; >@@ -922,6 +922,14 @@ my ( $reused_itemnumber_1, $reused_itemnumber_2 ); > LostItem( $item_3->itemnumber, 'test', 0 ); > my $accountline = Koha::Account::Lines->find( { itemnumber => $item_3->itemnumber } ); > is( $accountline->issue_id, $checkout->id, "Issue id added for lost replacement fee charge" ); >+ is( >+ $accountline->description, >+ sprintf( "%s %s %s", >+ $item_3->biblio->title || '', >+ $item_3->barcode || '', >+ $item_3->itemcallnumber || '' ), >+ "Account line description must not contain 'Lost Items ', but be title, barcode, itemcallnumber" >+ ); > } > > { >-- >2.20.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 21953
:
82872
|
83433
|
83439
|
86209
|
86210
|
86211
|
86405
|
86406
|
86418
|
87593
|
87594
|
87595
|
87596
|
87597
|
87599
|
87600
|
87601
|
87602
|
87603
|
87659
|
87660
|
87661
|
87662
|
87663
|
87782
|
87783
|
87784
|
87785
|
87786