From 32d542a1514d38d23ec3473e768e8fa58103c4c6 Mon Sep 17 00:00:00 2001 From: Olli-Antti Kivilahti Date: Tue, 7 Mar 2017 13:26:51 +0200 Subject: [PATCH] Bug 18222 - Fix tests broken by Buug 18026 root@koha_ci_1:/home/koha/Koha# KOHA_CONF=$KOHA_CONF perl t/Koha_Template_Plugin_Koha.t 1..3 ok 1 - use Koha::Template::Plugin::Koha; ok 2 1..2 ok 1 - Correct development version ok 2 - Correct maintenance version ok 3 - Koha::Template::Plugin::Koha::Version tests Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- t/Koha_Template_Plugin_Koha.t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/Koha_Template_Plugin_Koha.t b/t/Koha_Template_Plugin_Koha.t index 950257c..6bbe99f 100644 --- a/t/Koha_Template_Plugin_Koha.t +++ b/t/Koha_Template_Plugin_Koha.t @@ -52,6 +52,7 @@ subtest "Koha::Template::Plugin::Koha::Version tests" => sub { my $res = Koha::Template::Plugin::Koha::Version( $version ); is_deeply( $res, { major => $major, + minor => $minor, release => $major . "." . $minor, maintenance => $major . "." . $minor . "." . $maintenance, development => $development @@ -67,6 +68,7 @@ subtest "Koha::Template::Plugin::Koha::Version tests" => sub { $res = Koha::Template::Plugin::Koha::Version( $version ); is_deeply( $res, { major => $major, + minor => $minor, release => $major . "." . $minor, maintenance => $major . "." . $minor . "." . $maintenance, development => undef -- 2.1.4