Fix encoding problems with the SC asset. Update the encodings test to no longer require an ENV variable to run. Fixes bug #11795

This commit is contained in:
Colin Kuskie 2010-08-24 16:53:35 -07:00
parent 3238eb9432
commit c79bc75840
3 changed files with 3 additions and 6 deletions

View file

@ -19,7 +19,6 @@ use lib "$FindBin::Bin/../../../lib";
use WebGUI::Test;
use Test::More; # increment this value for each test you create
use WebGUI::Session;
plan skip_all => 'set TEST_ENCODINGS to enable this test' unless $ENV{TEST_ENCODINGS};
plan tests => 13; # increment this value for each test you create
use Test::Deep;
use WebGUI::Asset::Wobject::SyndicatedContent;
@ -103,6 +102,7 @@ is $syndicated_content->generateFeed->title, $es_title, 'No encoding in prolog,
$cache->set($iso_8859_1, 60);
is $syndicated_content->generateFeed->title, $es_title, 'ISO-8859-1 encoded';
$cache->set($iso_8859_5, 60);
is $syndicated_content->generateFeed->title, $ru_title, 'ISO-8859-5 encoded';