Need to test creating a role, deleting a role, assigning a user to a role, renaming a role, adding permissions to a role, removing permissions from a role.

Comments

zoo33’s picture

Assigned: Unassigned » zoo33

We proudly accept this mission. /zoo33 & frjo

zoo33’s picture

Session is over and we finished the first part: testing role creation. Will finish the rest and submit a patch later!

zoo33’s picture

Status: Active » Needs work
StatusFileSize
new2.52 KB

Here is a half-done patch. Two tests fail (I think) and we still have to do adding permissions to a role and removing permissions.

joshmiller’s picture

Component: tests » other
Assigned: zoo33 » Unassigned
StatusFileSize
new2.92 KB

Chasing HEAD. Re-rolled patch with some fuzz. Maybe the testing bot will pick this up. Not sure what component this belongs to?

Josh

aaronbauman’s picture

Component: other » user.module
Status: Needs work » Needs review

Tests to a system module belong to that module. In this case user.module

if the bot still fails to pick this up, you might try renaming to user.test.patch

Status: Needs review » Needs work

The last submitted patch failed testing.

dave reid’s picture

I actually have really extensive role and permission tests written in #300993: User roles and permissions API. Check them out.

aaronbauman’s picture

Status: Needs work » Postponed

OK, i guess this should be postponed and pending resolution of #300993: User roles and permissions API

marcvangend’s picture

#300993 was fixed on October 8, 2009. Is there anything left to do here?
[edit: bump]

catch’s picture

Priority: Critical » Normal
Status: Postponed » Closed (duplicate)

Tests were added in that issue, so I doubt we need anything extra here.