Lines 6-14
Link Here
|
6 |
use strict; |
6 |
use strict; |
7 |
use warnings; |
7 |
use warnings; |
8 |
|
8 |
|
9 |
use Test::More tests => 1; |
9 |
use Test::More tests => 4; |
10 |
|
10 |
|
11 |
BEGIN { |
11 |
BEGIN { |
12 |
use_ok('C4::Languages'); |
12 |
use_ok('C4::Languages'); |
13 |
} |
13 |
} |
14 |
|
14 |
|
15 |
- |
15 |
isnt(C4::Languages::_get_themes(), undef, 'testing _get_themes doesnt return undef'); |
|
|
16 |
|
17 |
ok(C4::Languages::_get_language_dirs(), 'test getting _get_language_dirs'); |
18 |
|
19 |
is(C4::Languages::accept_language(),undef, 'test that accept_languages returns undef when nothing is entered'); |