From f0b025e8559cfbe340353dcd0bcfea3fb9062183 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Sat, 21 Feb 2009 02:16:15 +0000 Subject: [PATCH] Update International test for new International module. --- t/International.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/International.t b/t/International.t index 16e437541..9e7654960 100644 --- a/t/International.t +++ b/t/International.t @@ -35,7 +35,7 @@ my $i18n = WebGUI::International->new($session, undef, 'English'); isa_ok($i18n, 'WebGUI::International', 'object of correct type created'); -is($i18n->getNamespace(), undef, 'getNamespace: default namespace is undef'); +is($i18n->getNamespace(), 'WebGUI', 'getNamespace: default namespace is undef'); is($i18n->get('topicName'), 'WebGUI', 'get: get English label for topicName with default namespace: WebGUI'); $i18n->setNamespace('WebGUI'); @@ -73,7 +73,7 @@ SKIP: { ); is( $i18n->get('neverAValidKey','notAValidFile','PigLatin'), - '', + undef, 'Language check: key from non-existant file returns an empty string' );