Closed (fixed)
Project:
SimpleTest
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
22 Mar 2008 at 01:05 UTC
Updated:
5 Apr 2008 at 02:53 UTC
Jump to comment: Most recent file
Here you go, does exactly what the title says... I know this may conflict with webchicks recent t() work, so let me know if it needs a re-roll
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | simpletest-cleanup-user-237369-6.patch | 49.24 KB | webchick |
| #2 | rename_drupalLoginUser.patch | 35.17 KB | beeradb |
| drupalLoginUser_to_drupalLogin.patch | 43.27 KB | beeradb |
Comments
Comment #1
boombatower commentedYea, this needs to be rerolled.
Comment #2
beeradb commentedre-rolled. I also changed it a bit so drupalLogin now uses drupalLogout instead of $this->drupalGet('logout') to log a user out if they are already logged in
Comment #3
beeradb commentedforgot to set status
Comment #4
webchickI'm going to re-purpose this issue to clean up not only drupalLogin/drupalLogout but also drupalCreateUser and drupalCreateRole.
Comment #5
boombatower commentedThis seems to still need rerolling.
Comment #6
webchickOk, let's try this. I tried to run all the simpletests before posting this, but it's taking forever. :P I guess we can clean up anything that got messed.
I reformatted the drupalCreateUser and drupalCreateRole functions a bit to make them a bit easier to understand. I also made drupalCreateRole private, since nothing but drupalCreateUser should be calling that function.
Comment #7
boombatower commentedCommitted.
Great work.
Comment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.