Fix a test I broke with the i18n refactor for the GalleryFile
This commit is contained in:
parent
097de28bd0
commit
ee9369392d
1 changed files with 2 additions and 1 deletions
|
|
@ -21,6 +21,7 @@ use Test::More;
|
||||||
use Test::Deep;
|
use Test::Deep;
|
||||||
use Scalar::Util;
|
use Scalar::Util;
|
||||||
use WebGUI::Asset::File::GalleryFile::Photo;
|
use WebGUI::Asset::File::GalleryFile::Photo;
|
||||||
|
use WebGUI::International;
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
# Init
|
# Init
|
||||||
|
|
@ -268,7 +269,7 @@ like(
|
||||||
"www_editCommentSave -- Permission denied if not Gallery->canAddComment",
|
"www_editCommentSave -- Permission denied if not Gallery->canAddComment",
|
||||||
);
|
);
|
||||||
|
|
||||||
my $i18n = $photo->i18n($session);
|
my $i18n = WebGUI::International->new($session, 'Asset_Photo');
|
||||||
my $errorMessage;
|
my $errorMessage;
|
||||||
|
|
||||||
# Required: commentId
|
# Required: commentId
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue