Add a test for getting the whole language property hash.
Reformat the getLanguage method according to WGBP.
This commit is contained in:
parent
44162ea113
commit
abf56513c7
2 changed files with 17 additions and 14 deletions
|
|
@ -21,7 +21,7 @@ my $session = WebGUI::Test->session;
|
|||
|
||||
my $numTests = 1; ##For conditional load check
|
||||
my $langTests = 2; ##For language look-up tests
|
||||
$numTests += 10 + $langTests;
|
||||
$numTests += 11 + $langTests;
|
||||
|
||||
plan tests => $numTests;
|
||||
|
||||
|
|
@ -71,6 +71,8 @@ SKIP: {
|
|||
|
||||
is($i18n->getLanguage('English', 'label'), 'English', 'getLanguage, specific property');
|
||||
|
||||
isa_ok($i18n->getLanguage('English'), 'HASH', 'getLanguage, without a specific property returns a hashref');
|
||||
|
||||
}
|
||||
|
||||
sub installPigLatin {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue