From 6e0fcee52ed77cbf8aad398b66aa6a7f810a1dbb Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 24 Aug 2009 04:45:29 +0000 Subject: [PATCH] Add WEBGUI_LIVE env variable to more tests that use Test::WWW::Mechanize. --- t/Asset/Redirect/mech.t | 1 + t/Auth/mech.t | 1 + 2 files changed, 2 insertions(+) diff --git a/t/Asset/Redirect/mech.t b/t/Asset/Redirect/mech.t index 4d28bd529..85cadb959 100644 --- a/t/Asset/Redirect/mech.t +++ b/t/Asset/Redirect/mech.t @@ -21,6 +21,7 @@ use WebGUI::Test; # Must use this before any other WebGUI modules use WebGUI::Asset; use WebGUI::VersionTag; use WebGUI::Session; +plan skip_all => 'set WEBGUI_LIVE to enable this test' unless $ENV{WEBGUI_LIVE}; #---------------------------------------------------------------------------- # Init diff --git a/t/Auth/mech.t b/t/Auth/mech.t index 03321bec1..ccde88b10 100644 --- a/t/Auth/mech.t +++ b/t/Auth/mech.t @@ -26,6 +26,7 @@ use WebGUI::Test; # Must use this before any other WebGUI modules use WebGUI::Asset; use WebGUI::VersionTag; use WebGUI::Session; +plan skip_all => 'set WEBGUI_LIVE to enable this test' unless $ENV{WEBGUI_LIVE}; #---------------------------------------------------------------------------- # Init