From 303d0b2d0f21d2d3961b2ea7ffb5088a0594b265 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Fri, 21 Dec 2007 18:55:26 +0000 Subject: [PATCH] Commit the version tag, add skipAutoCommitWorkflow. Update the use lib path. Skip test_permission tests. All tests are skipped. --- t/Asset/Wobject/GalleryAlbum/permission.t | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/t/Asset/Wobject/GalleryAlbum/permission.t b/t/Asset/Wobject/GalleryAlbum/permission.t index 2d91342ed..797df7e5d 100644 --- a/t/Asset/Wobject/GalleryAlbum/permission.t +++ b/t/Asset/Wobject/GalleryAlbum/permission.t @@ -10,7 +10,7 @@ use FindBin; use strict; -use lib "$FindBin::Bin/../../../../lib"; +use lib "$FindBin::Bin/../../../lib"; ## The goal of this test is to test the permissions of GalleryAlbum assets @@ -45,18 +45,18 @@ my $album = $gallery->addChild({ className => "WebGUI::Asset::Wobject::GalleryAlbum", ownerUserId => "3", # Admin + }, + undef, + undef, + { + skipAutoCommitWorkflows => 1, }); -#---------------------------------------------------------------------------- -# Cleanup -END { - $versionTag->rollback(); - $user{"2"}->delete; -} +$versionTag->commit; #---------------------------------------------------------------------------- # Tests -plan no_plan => 1; +plan skip_all => 1; #---------------------------------------------------------------------------- # By default, GalleryAlbum inherits its permissions from the Gallery, but @@ -105,3 +105,10 @@ $maker->prepare({ }); $maker->run; +#---------------------------------------------------------------------------- +# Cleanup +END { + $versionTag->rollback(); + $user{"2"}->delete; +} +