generated from jric11/baseProject
ChatGPT's update to harden software and run db updates.
This commit is contained in:
@@ -97,8 +97,9 @@ try:
|
||||
# Set a known member password in this disposable fixture via the real reset flow.
|
||||
# Fixture token generation is intentionally scoped to httpuser, so create that
|
||||
# account through signup and assign it separately for isolation tests.
|
||||
app.logout();_,signup,_=app.request('/?Xaction=signup')
|
||||
expect(app.request(data={'action':'SignUp.createAccount','csrf_token':app.csrf(signup),'user_first_name':'Regular','user_last_name':'Member','user_email':'http@example.test','user_name':'httpuser','user_password':'HTTP long password!','user_password_confirm':'HTTP long password!'}),200,'Regular member account can sign up')
|
||||
app.fixture('seedTenantInvitation',str(club_a),'1','http@example.test')
|
||||
app.logout();_,signup,_=app.request('/?Xaction=signup&membership=invited')
|
||||
expect(app.request(data={'action':'SignUp.createAccount','registration_kind':'invited','csrf_token':app.csrf(signup),'user_first_name':'Regular','user_last_name':'Member','user_email':'http@example.test','user_name':'httpuser','user_password':'HTTP long password!','user_password_confirm':'HTTP long password!'}),200,'Regular member account can sign up')
|
||||
app.login();csrf=app.token
|
||||
app.fixture('verifyEmail','httpuser')
|
||||
app.post('Roster.workspace',step='member',club_serial=club_a,identifier='httpuser',membership_status='active',joined_on='2026-01-01')
|
||||
|
||||
Reference in New Issue
Block a user