Bugzilla – Attachment 59914 Details for
Bug 18044
Label Batches not displaying
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18044: Add a test
Bug-18044-Add-a-test.patch (text/plain), 1.23 KB, created by
Jonathan Druart
on 2017-02-06 08:19:49 UTC
(
hide
)
Description:
Bug 18044: Add a test
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-02-06 08:19:49 UTC
Size:
1.23 KB
patch
obsolete
>From 74ce51bc6f71ab50e5a954253f73e8d479733af9 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 6 Feb 2017 09:18:29 +0100 >Subject: [PATCH] Bug 18044: Add a test > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > t/db_dependent/Creators/Lib.t | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Creators/Lib.t b/t/db_dependent/Creators/Lib.t >index 8c61935..749c6a7 100644 >--- a/t/db_dependent/Creators/Lib.t >+++ b/t/db_dependent/Creators/Lib.t >@@ -18,7 +18,7 @@ > > use Modern::Perl; > use Graphics::Magick; >-use Test::More tests => 644; >+use Test::More tests => 645; > use Test::MockModule; > use t::lib::Mocks; > use t::lib::TestBuilder; >@@ -395,6 +395,8 @@ is( $templates->[0]->{row_gap}, 0.3, 'row_gap is good > is( $templates->[0]->{units}, 'POINT', 'units is good' ); > is( $templates->[0]->{creator}, 'Labels', 'creator is good' ); > >+$templates = get_all_templates( { filters => { rows => [-42, 7]} } ); >+is( @$templates, $count, 'There is 1 template matching' ); > # With orderby param ------------------ > $templates = get_all_templates( { orderby => 'rows DESC' } ); > >-- >2.9.3
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 18044
:
59909
|
59912
|
59913
| 59914