Merge lp:~james-w/canonical-identity-provider/doubled-email-acceptance into lp:canonical-identity-provider/release
Proposed by
James Westby
Status: | Merged |
---|---|
Approved by: | Natalia Bidart |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1034 |
Proposed branch: | lp:~james-w/canonical-identity-provider/doubled-email-acceptance |
Merge into: | lp:canonical-identity-provider/release |
Diff against target: |
73 lines (+16/-30) 2 files modified
acceptance/pages.py (+8/-0) acceptance/tests/emails/doubled_email.py (+8/-30) |
To merge this branch: | bzr merge lp:~james-w/canonical-identity-provider/doubled-email-acceptance |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Natalia Bidart (community) | Approve | ||
Review via email: mp+182508@code.launchpad.net |
Commit message
When a second user tries to add an email that is already in use they get an error.
The behaviour changed in r1031 such that you can't claim an email that has been
added by someone else, even if they haven't yet verified it. This updates
the acceptance test to check this, rather than checking the rules around token
invalidation with duplicated emails.
Description of the change
Hi,
This updates the failing acceptence test to match the new behaviour
of duplicated emails.
Thanks,
James
To post a comment you must log in.
Looks good!