From ee9369392dd7e8668199e3304fab571c5dfd1263 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 29 Jan 2009 23:46:39 +0000 Subject: [PATCH] Fix a test I broke with the i18n refactor for the GalleryFile --- t/Asset/File/GalleryFile/Photo/comment.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/Asset/File/GalleryFile/Photo/comment.t b/t/Asset/File/GalleryFile/Photo/comment.t index 040b4a4d3..7daca9b47 100644 --- a/t/Asset/File/GalleryFile/Photo/comment.t +++ b/t/Asset/File/GalleryFile/Photo/comment.t @@ -21,6 +21,7 @@ use Test::More; use Test::Deep; use Scalar::Util; use WebGUI::Asset::File::GalleryFile::Photo; +use WebGUI::International; #---------------------------------------------------------------------------- # Init @@ -268,7 +269,7 @@ like( "www_editCommentSave -- Permission denied if not Gallery->canAddComment", ); -my $i18n = $photo->i18n($session); +my $i18n = WebGUI::International->new($session, 'Asset_Photo'); my $errorMessage; # Required: commentId