Adjust for new expected message.
Patch by kareila.
diffs (12 lines):
diff -r 53affd8cd604 -r 699d6820930b t/console-tags.t
--- a/t/console-tags.t Thu May 13 01:13:13 2010 +0000
+++ b/t/console-tags.t Fri May 14 05:29:59 2010 +0000
@@ -51,7 +51,7 @@ is($run->("tag_permissions access access
$u = LJ::load_user($u->user);
is($u->raw_prop("opt_tagpermissions"), "protected,protected", "Tag permissions
set correctly.");
is($run->("tag_permissions members members"),
- "error: Levels must be one of: 'private', 'public', 'none', 'access' (for
personal journals), 'members' (for communities), or the name of a custom
group.");
+ "error: Levels must be one of: 'private', 'public', 'none', 'access' (for
personal journals), 'members' (for communities), 'author_admin' (for
communities only), or the name of a custom group.");
$comm->set_prop("opt_tagpermissions", undef);
is($run->("tag_permissions for " . $comm->user . " public members"),
"success: Tag permissions updated for " . $comm->user);
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog