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 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;
}