make GalleryAlbum test run, and fix it
This commit is contained in:
parent
57fdd79801
commit
d12f0d2e30
1 changed files with 2 additions and 2 deletions
|
|
@ -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, ],
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue