Bugzilla – Attachment 39000 Details for
Bug 13673
Remove warnings from t/db_dependent/Barcodes.t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13758: (QA followup) revert case change that broke the tests
Bug-13758-QA-followup-revert-case-change-that-brok.patch (text/plain), 2.08 KB, created by
Indranil Das Gupta
on 2015-05-09 13:46:15 UTC
(
hide
)
Description:
Bug 13758: (QA followup) revert case change that broke the tests
Filename:
MIME Type:
Creator:
Indranil Das Gupta
Created:
2015-05-09 13:46:15 UTC
Size:
2.08 KB
patch
obsolete
>From ae6f72b3403f6fee4c63bc15964eabe4bdf3f0a7 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Thu, 7 May 2015 14:12:14 -0300 >Subject: [PATCH] Bug 13758: (QA followup) revert case change that broke the > tests > >Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> > >http://bugs.koha-community.org/show_bug.cgi?id=13673 >--- > t/Koha_Template_Plugin_Koha.t | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/t/Koha_Template_Plugin_Koha.t b/t/Koha_Template_Plugin_Koha.t >index 50c198f..950257c 100644 >--- a/t/Koha_Template_Plugin_Koha.t >+++ b/t/Koha_Template_Plugin_Koha.t >@@ -26,7 +26,7 @@ use String::Random; > use_ok( 'Koha::Template::Plugin::Koha' ); > ok( my $cache = Koha::Template::Plugin::Koha->new() ); > >-subtest "Koha::Template::Plugin::Koha::version tests" => sub { >+subtest "Koha::Template::Plugin::Koha::Version tests" => sub { > > plan tests => 2; > >@@ -38,7 +38,7 @@ subtest "Koha::Template::Plugin::Koha::version tests" => sub { > > # Mock Koha::version() > my $koha = new Test::MockModule('Koha'); >- $koha->mock( 'Version', sub { >+ $koha->mock( 'version', sub { > return "$major.$minor.$maintenance.$development"; > }); > >@@ -49,7 +49,7 @@ subtest "Koha::Template::Plugin::Koha::version tests" => sub { > $maintenance = $rnd->randregex('\d\d'); > $development = $rnd->randregex('\d\d\d'); > my $version = "$major.$minor.$maintenance.$development"; >- my $res = Koha::Template::Plugin::Koha::version( $version ); >+ my $res = Koha::Template::Plugin::Koha::Version( $version ); > is_deeply( $res, { > major => $major, > release => $major . "." . $minor, >@@ -64,7 +64,7 @@ subtest "Koha::Template::Plugin::Koha::version tests" => sub { > $maintenance = $rnd->randregex('\d\d'); > $development = "000"; > $version = "$major.$minor.$maintenance.$development"; >- $res = Koha::Template::Plugin::Koha::version( $version ); >+ $res = Koha::Template::Plugin::Koha::Version( $version ); > is_deeply( $res, { > major => $major, > release => $major . "." . $minor, >-- >1.9.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 13673
:
38995
|
38996
|
38997
|
38998
|
39000
|
39001
|
39002
|
39003
|
39004
|
39005
|
39006
|
39010
|
39011
|
39012
|
39013
|
39220
|
39221
|
39222
|
39223