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 27, 2024
1 parent 1023c68 commit 9d56487
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 @@ -133,6 +133,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 @@ -161,6 +165,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 @@ -188,6 +196,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 @@ -133,6 +133,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 @@ -161,6 +165,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 @@ -188,6 +196,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 9d56487

Please sign in to comment.