From d12f0d2e305a2aa3b669ee277f6cd05e98d12cb0 Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Sun, 5 Oct 2008 19:42:52 +0000 Subject: [PATCH] make GalleryAlbum test run, and fix it --- t/Asset/Wobject/GalleryAlbum/permission.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/Asset/Wobject/GalleryAlbum/permission.t b/t/Asset/Wobject/GalleryAlbum/permission.t index 044bda2af..0a258bb4a 100644 --- a/t/Asset/Wobject/GalleryAlbum/permission.t +++ b/t/Asset/Wobject/GalleryAlbum/permission.t @@ -55,7 +55,7 @@ $versionTag->commit; #---------------------------------------------------------------------------- # Tests -plan skip_all => 1; +plan tests => 36; #---------------------------------------------------------------------------- # By default, GalleryAlbum inherits its permissions from the Gallery, but @@ -76,7 +76,7 @@ $maker->prepare({ fail => [ 1, $user{"2"}, ], }, { object => $album, - method => "canAddComment", + method => "canComment", pass => [ 3, $user{"2"}, ], fail => [ 1, ], });