use consistant messages for WEBGUI_LIVE tests

This commit is contained in:
Graham Knop 2009-09-08 22:56:01 -05:00
parent 2948e68781
commit f6be0746f3
2 changed files with 6 additions and 9 deletions

View file

@ -22,12 +22,10 @@ use Test::More;
use Test::Deep;
use Data::Dumper;
if (!$ENV{WEBGUI_LIVE}) {
plan skip_all => 'No website available';
}
else {
plan tests => 14; # increment this value for each test you create
}
plan skip_all => 'set WEBGUI_LIVE to enable this test'
unless $ENV{WEBGUI_LIVE};
plan tests => 14; # increment this value for each test you create
my $session = WebGUI::Test->session;