From 51aa116377c39cfe699d5aa45352e20bab1de4dc Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Tue, 11 Aug 2009 20:18:58 +0000 Subject: [PATCH] Forward port WEBGUI_LIVE switch addition to Event/edit.t --- t/Asset/Event/edit.t | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/t/Asset/Event/edit.t b/t/Asset/Event/edit.t index ef1d792c4..de716e025 100644 --- a/t/Asset/Event/edit.t +++ b/t/Asset/Event/edit.t @@ -74,6 +74,10 @@ 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 tests => 8; # Increment this number for each test you create #----------------------------------------------------------------------------