From ed9eac7dd095ab238960199bff6e9c6821ccb923 Mon Sep 17 00:00:00 2001 From: Sam Sanders Date: Thu, 19 Jan 2012 14:15:45 +1300 Subject: [PATCH] Bug 5327 added tests for C4/Languages.pm Signed-off-by: Chris Hall (cherry picked from commit a0c1414f6d7e431dd0c6bc55f0dd11b55951df81) Signed-off-by: Chris Nighswonger --- t/Languages.t | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/t/Languages.t b/t/Languages.t index 9122936b4a..5918d95f5f 100755 --- a/t/Languages.t +++ b/t/Languages.t @@ -6,9 +6,14 @@ use strict; use warnings; -use Test::More tests => 1; +use Test::More tests => 4; BEGIN { use_ok('C4::Languages'); } +isnt(C4::Languages::_get_themes(), undef, 'testing _get_themes doesnt return undef'); + +ok(C4::Languages::_get_language_dirs(), 'test getting _get_language_dirs'); + +is(C4::Languages::accept_language(),undef, 'test that accept_languages returns undef when nothing is entered'); -- 2.39.5