Added commits and skipAutoCommitWorkflow. Test can be run multiple times.

First test is failing.
This commit is contained in:
Colin Kuskie 2007-12-21 17:02:00 +00:00
parent 08989cd567
commit b3789d2a0f

View file

@ -34,17 +34,22 @@ my $gallery
my $album
= $gallery->addChild({
className => "WebGUI::Asset::Wobject::GalleryAlbum",
},
undef,
undef,
{
skipAutoCommitWorkflows => 1,
});
my $photo
= $album->addChild({
className => "WebGUI::Asset::File::Image::Photo",
},
undef,
undef,
{
skipAutoCommitWorkflows => 1,
});
#----------------------------------------------------------------------------
# Cleanup
END {
$versionTag->rollback();
}
$versionTag->commit;
#----------------------------------------------------------------------------
# Tests
@ -66,3 +71,9 @@ ok(
);
#----------------------------------------------------------------------------
# Cleanup
END {
$versionTag->rollback();
}