Convert WebGUI::International to use blocky eval instead of stringy eval.
Add 1 test for getLanguage to check for refactoring.
This commit is contained in:
parent
1989242c8e
commit
c8a1bb6a7c
2 changed files with 19 additions and 11 deletions
|
|
@ -19,9 +19,9 @@ use File::Spec;
|
|||
|
||||
my $session = WebGUI::Test->session;
|
||||
|
||||
my $numTests = 1; ##For conditional load check
|
||||
my $numTests = 1; ##For conditional load check
|
||||
my $langTests = 2; ##For language look-up tests
|
||||
$numTests += 9 + $langTests;
|
||||
$numTests += 10 + $langTests;
|
||||
|
||||
plan tests => $numTests;
|
||||
|
||||
|
|
@ -67,6 +67,8 @@ SKIP: {
|
|||
'Language check: existing key returns native language key'
|
||||
);
|
||||
|
||||
is($i18n->getLanguage('English', 'label'), 'English', 'getLanguage, specific property');
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue