From 88ad96cf5d5a3387eb5588dc93f6b348afe2fd63 Mon Sep 17 00:00:00 2001 From: "T. Franzel" Date: Thu, 14 Nov 2024 23:45:48 +0100 Subject: [PATCH] adapt tests for dj_rest_auth changes --- tests/contrib/test_rest_auth.yml | 12 ++++++++++++ tests/contrib/test_rest_auth_token.yml | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/tests/contrib/test_rest_auth.yml b/tests/contrib/test_rest_auth.yml index bb2e960e..344abf07 100644 --- a/tests/contrib/test_rest_auth.yml +++ b/tests/contrib/test_rest_auth.yml @@ -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: @@ -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: @@ -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: diff --git a/tests/contrib/test_rest_auth_token.yml b/tests/contrib/test_rest_auth_token.yml index 091370b4..0a9d28a7 100644 --- a/tests/contrib/test_rest_auth_token.yml +++ b/tests/contrib/test_rest_auth_token.yml @@ -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: @@ -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: @@ -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: