From b74761619ec74b89160387805bc0f7e3871d00a2 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 28 May 2009 23:03:19 +0000 Subject: [PATCH] More SKIP number fixes. --- t/Asset/AssetExportHtml.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/Asset/AssetExportHtml.t b/t/Asset/AssetExportHtml.t index 535f4bc8c..251f49125 100644 --- a/t/Asset/AssetExportHtml.t +++ b/t/Asset/AssetExportHtml.t @@ -905,7 +905,7 @@ eval { ($message) = $home->exportAsHtml( { userId => 3, depth => 99 } ) }; is($@, 'exportPath must be defined and not ""', "exportAsHtml catches undefined exportPath exception"); SKIP: { - skip 'Root will cause this test to fail since it does not obey file permissions', 3 + skip 'Root will cause this test to fail since it does not obey file permissions', 1 if $< == 0; # inaccessible exportPath @@ -924,7 +924,7 @@ is($@, "$exportPathFile isn't a directory", "exportAsHtml catches exportPa $config->set('exportPath', $inaccessibleDirectory->stringify); SKIP: { - skip 'Root will cause this test to fail since it does not obey file permissions', 3 + skip 'Root will cause this test to fail since it does not obey file permissions', 1 if $< == 0; # can't create export path