Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
In the test, after registering a new account you will be logged in, so going to /user/login will give 403. The attached patch will add a logout first.
Comment | File | Size | Author |
---|---|---|---|
#7 | 821490_email_reg_tests-D7.patch | 1.27 KB | greggles |
#1 | email_registration-fix_simpletest-821490-0.patch | 499 bytes | Mark Theunissen |
Comments
Comment #1
Mark Theunissen CreditAttribution: Mark Theunissen commentedComment #2
YK85 CreditAttribution: YK85 commentedComment #3
nod_works for me.
Comment #4
nod_Comment #5
gregglesI enabled simpletest on this project so that we can see this patch making it green.
Committed - http://drupalcode.org/project/email_registration.git/commit/5cf156b
Thanks, guys.
Comment #6
greggleshttp://drupal.org/project/email_registration/testing-status was red before the patch and green after.
Thanks!
Comment #7
gregglesHere's a patch for 7.x to get it working.
It needed both this change and to default to letting people create their own account.
Comment #8
gregglesGiven that this is a small change that stays inline with the previous test and is ONLY to the test (and not the module) I'm going to commit it faster than I might commit some other patch of my own.
If someone disagrees with this change please let me know and I'll work to improve it.
Now committed to 7.x-1.x too http://drupalcode.org/project/email_registration.git/commit/95e9832 and testing has been enabled for 7.x-1.x branches.