From 0ba62f68245dbed75034803210a5bb459f13a509 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Fri, 21 Dec 2007 19:03:28 +0000 Subject: [PATCH] Commit the version tag, add skipAutoCommitWorkflow. Add a TODO test as a placeholder. --- t/Asset/Wobject/GalleryAlbum/slideshow.t | 29 +++++++++++++++++++----- 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/t/Asset/Wobject/GalleryAlbum/slideshow.t b/t/Asset/Wobject/GalleryAlbum/slideshow.t index cbb2d5ccb..5ec8dd5a8 100644 --- a/t/Asset/Wobject/GalleryAlbum/slideshow.t +++ b/t/Asset/Wobject/GalleryAlbum/slideshow.t @@ -41,6 +41,11 @@ my $album = $gallery->addChild({ className => "WebGUI::Asset::Wobject::GalleryAlbum", ownerUserId => "3", # Admin + }, + undef, + undef, + { + skipAutoCommitWorkflows => 1, }); my @photos; for my $i ( 0 .. 5 ) { @@ -48,18 +53,24 @@ for my $i ( 0 .. 5 ) { = $album->addChild({ className => "WebGUI::Asset::File::Image::Photo", filename => "$i.jpg", + }, + undef, + undef, + { + skipAutoCommitWorkflows => 1, }); } -#---------------------------------------------------------------------------- -# Cleanup -END { - $versionTag->rollback(); -} +$versionTag->commit; #---------------------------------------------------------------------------- # Tests -plan no_plan => 1; +plan tests => 1; + +TODO: { + local $TODO = "Write some tests"; + ok(0, 'No tests here'); +} #---------------------------------------------------------------------------- # Test view_slideshow @@ -67,3 +78,9 @@ plan no_plan => 1; #---------------------------------------------------------------------------- # Test www_slideshow + +#---------------------------------------------------------------------------- +# Cleanup +END { + $versionTag->rollback(); +}