Bug 11452: Add unit tests for Koha::Template::Plugin::Cache
authorChris Cormack <chris@bigballofwax.co.nz>
Fri, 27 Dec 2013 03:06:34 +0000 (16:06 +1300)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 10 Jan 2014 15:42:23 +0000 (15:42 +0000)
To test

run prove t/Koha_Template_Plugin_Cache.t

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works nicely.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>

t/Koha_Template_Plugin_Cache.t [new file with mode: 0644]

diff --git a/t/Koha_Template_Plugin_Cache.t b/t/Koha_Template_Plugin_Cache.t
new file mode 100644 (file)
index 0000000..da20f61
--- /dev/null
@@ -0,0 +1,6 @@
+use Modern::Perl;
+use Test::More tests => 2;
+
+use_ok('Koha::Template::Plugin::Cache');
+
+ok(my $cache = Koha::Template::Plugin::Cache->new());