Commit the version tag, add skipAutoCommitWorkflow. Update the use lib path. Skip test_permission tests. All tests are skipped.

This commit is contained in:
Colin Kuskie 2007-12-21 18:55:26 +00:00
parent 368f5294a3
commit 303d0b2d0f

View file

@ -10,7 +10,7 @@
use FindBin; use FindBin;
use strict; 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 ## The goal of this test is to test the permissions of GalleryAlbum assets
@ -45,18 +45,18 @@ my $album
= $gallery->addChild({ = $gallery->addChild({
className => "WebGUI::Asset::Wobject::GalleryAlbum", className => "WebGUI::Asset::Wobject::GalleryAlbum",
ownerUserId => "3", # Admin ownerUserId => "3", # Admin
},
undef,
undef,
{
skipAutoCommitWorkflows => 1,
}); });
#---------------------------------------------------------------------------- $versionTag->commit;
# Cleanup
END {
$versionTag->rollback();
$user{"2"}->delete;
}
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
# Tests # Tests
plan no_plan => 1; plan skip_all => 1;
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
# By default, GalleryAlbum inherits its permissions from the Gallery, but # By default, GalleryAlbum inherits its permissions from the Gallery, but
@ -105,3 +105,10 @@ $maker->prepare({
}); });
$maker->run; $maker->run;
#----------------------------------------------------------------------------
# Cleanup
END {
$versionTag->rollback();
$user{"2"}->delete;
}