Finish WEBGUI_LIVE cleanup

This commit is contained in:
Colin Kuskie 2011-12-01 15:26:34 -08:00
parent 97d9711118
commit b242236ac2

View file

@ -19,7 +19,6 @@ use WebGUI::Session;
use Test::More; use Test::More;
use Test::Deep; use Test::Deep;
use XML::Simple; use XML::Simple;
#plan skip_all => 'set WEBGUI_LIVE to enable this test' unless $ENV{WEBGUI_LIVE};
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
# Init # Init
@ -68,22 +67,10 @@ for my $i ( 0 .. 5 ) {
$versionTag->commit; $versionTag->commit;
# Override some settings to make things easier to test
# userFunctionStyleId
$session->setting->set( 'userFunctionStyleId', 'PBtmpl0000000000000132' );
# specialState
$session->setting->set( 'specialState', '' );
my ( $mech );
my $baseUrl = $session->url->getSiteURL;
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
# Tests # Tests
if ( !eval { require Test::WWW::Mechanize; 1; } ) { my $mech = Test::WWW::Mechanize->new;
plan skip_all => 'Cannot load Test::WWW::Mechanize. Will not test.';
}
$mech = Test::WWW::Mechanize->new;
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
# Test www_viewRss # Test www_viewRss