Commit the version tag, add skipAutoCommitWorkflow. Update the use lib path. Skip test_permission tests. All tests are skipped.
This commit is contained in:
parent
368f5294a3
commit
303d0b2d0f
1 changed files with 15 additions and 8 deletions
|
|
@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue