Skip to content
Permalink
Browse files

use consistant messages for WEBGUI_LIVE tests

  • Loading branch information...
haarg committed Sep 9, 2009
1 parent 2948e68 commit f6be0746f318348a8565cb06c3fc63ca71abd35f
Showing with 6 additions and 9 deletions.
  1. +2 −3 t/Asset/Event/edit.t
  2. +4 −6 t/Workflow/Activity/CalendarUpdateFeeds.t
@@ -74,9 +74,8 @@ if ( !$mech->success ) {
plan skip_all => "Cannot load URL '$baseUrl'. Will not test.";
}

if ( !$ENV{WEBGUI_LIVE}) {
plan skip_all => "Live tests not enabled";
}
plan skip_all => 'set WEBGUI_LIVE to enable this test'
unless $ENV{WEBGUI_LIVE};

plan tests => 8; # Increment this number for each test you create

@@ -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;

0 comments on commit f6be074

Please sign in to comment.
You can’t perform that action at this time.