Posted by beeradb on March 22, 2008 at 1:05am
3 followers
| Project: | SimpleTest |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | beeradb |
| Status: | closed (fixed) |
Issue Summary
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
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| drupalLoginUser_to_drupalLogin.patch | 43.27 KB | Ignored: Check issue status. | None | None |
Comments
#1
Yea, this needs to be rerolled.
#2
re-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
#3
forgot to set status
#4
I'm going to re-purpose this issue to clean up not only drupalLogin/drupalLogout but also drupalCreateUser and drupalCreateRole.
#5
This seems to still need rerolling.
#6
Ok, 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.
#7
Committed.
Great work.
#8
Automatically closed -- issue fixed for two weeks with no activity.