Lines 52-57
subtest "Koha::Template::Plugin::Koha::Version tests" => sub {
Link Here
|
52 |
my $res = Koha::Template::Plugin::Koha::Version( $version ); |
52 |
my $res = Koha::Template::Plugin::Koha::Version( $version ); |
53 |
is_deeply( $res, { |
53 |
is_deeply( $res, { |
54 |
major => $major, |
54 |
major => $major, |
|
|
55 |
minor => $minor, |
55 |
release => $major . "." . $minor, |
56 |
release => $major . "." . $minor, |
56 |
maintenance => $major . "." . $minor . "." . $maintenance, |
57 |
maintenance => $major . "." . $minor . "." . $maintenance, |
57 |
development => $development |
58 |
development => $development |
Lines 67-72
subtest "Koha::Template::Plugin::Koha::Version tests" => sub {
Link Here
|
67 |
$res = Koha::Template::Plugin::Koha::Version( $version ); |
68 |
$res = Koha::Template::Plugin::Koha::Version( $version ); |
68 |
is_deeply( $res, { |
69 |
is_deeply( $res, { |
69 |
major => $major, |
70 |
major => $major, |
|
|
71 |
minor => $minor, |
70 |
release => $major . "." . $minor, |
72 |
release => $major . "." . $minor, |
71 |
maintenance => $major . "." . $minor . "." . $maintenance, |
73 |
maintenance => $major . "." . $minor . "." . $maintenance, |
72 |
development => undef |
74 |
development => undef |
73 |
- |
|
|