Skip to content

Commit

Permalink
adapt tests for dj_rest_auth changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tfranzel committed Nov 14, 2024
1 parent c042148 commit 88ad96c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/contrib/test_rest_auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ paths:
/rest-auth/registration/:
post:
operationId: rest_auth_registration_create
description: |-
Registers a new user.
Accepts the following POST parameters: username, email, password1, password2.
tags:
- rest-auth
requestBody:
Expand Down Expand Up @@ -191,6 +195,10 @@ paths:
/rest-auth/registration/resend-email/:
post:
operationId: rest_auth_registration_resend_email_create
description: |-
Resends another email to an unverified email.
Accepts the following POST parameter: email.
tags:
- rest-auth
requestBody:
Expand Down Expand Up @@ -218,6 +226,10 @@ paths:
/rest-auth/registration/verify-email/:
post:
operationId: rest_auth_registration_verify_email_create
description: |-
Verifies the email associated with the provided key.
Accepts the following POST parameter: key.
tags:
- rest-auth
requestBody:
Expand Down
12 changes: 12 additions & 0 deletions tests/contrib/test_rest_auth_token.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ paths:
/rest-auth/registration/:
post:
operationId: rest_auth_registration_create
description: |-
Registers a new user.
Accepts the following POST parameters: username, email, password1, password2.
tags:
- rest-auth
requestBody:
Expand Down Expand Up @@ -191,6 +195,10 @@ paths:
/rest-auth/registration/resend-email/:
post:
operationId: rest_auth_registration_resend_email_create
description: |-
Resends another email to an unverified email.
Accepts the following POST parameter: email.
tags:
- rest-auth
requestBody:
Expand Down Expand Up @@ -218,6 +226,10 @@ paths:
/rest-auth/registration/verify-email/:
post:
operationId: rest_auth_registration_verify_email_create
description: |-
Verifies the email associated with the provided key.
Accepts the following POST parameter: key.
tags:
- rest-auth
requestBody:
Expand Down

0 comments on commit 88ad96c

Please sign in to comment.