make GalleryAlbum test run, and fix it

This commit is contained in:
Graham Knop 2008-10-05 19:42:52 +00:00
parent 57fdd79801
commit d12f0d2e30

View file

@ -55,7 +55,7 @@ $versionTag->commit;
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
# Tests # Tests
plan skip_all => 1; plan tests => 36;
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
# By default, GalleryAlbum inherits its permissions from the Gallery, but # By default, GalleryAlbum inherits its permissions from the Gallery, but
@ -76,7 +76,7 @@ $maker->prepare({
fail => [ 1, $user{"2"}, ], fail => [ 1, $user{"2"}, ],
}, { }, {
object => $album, object => $album,
method => "canAddComment", method => "canComment",
pass => [ 3, $user{"2"}, ], pass => [ 3, $user{"2"}, ],
fail => [ 1, ], fail => [ 1, ],
}); });