fixed WebGUI::Utility::Gallery tests
This commit is contained in:
parent
40e28848d0
commit
35e5b95fb6
2 changed files with 12 additions and 0 deletions
|
|
@ -58,6 +58,8 @@ for (0..2) {
|
|||
);
|
||||
}
|
||||
|
||||
$versionTags[-1]->commit;
|
||||
|
||||
# File to GalleryFile field mappings. Should be mostly the same
|
||||
my %fileField = (
|
||||
title => "title",
|
||||
|
|
@ -111,7 +113,9 @@ ok(
|
|||
"addAlbumFromFolder croaks if second argument is not a Folder asset",
|
||||
);
|
||||
|
||||
push @versionTags, WebGUI::VersionTag->getWorking( $session );
|
||||
$utility->addAlbumFromFolder( $gallery, $folder );
|
||||
$versionTags[-1]->commit;
|
||||
|
||||
is(
|
||||
scalar @{ $gallery->getAlbumIds }, 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue