Add unit test

This commit is contained in:
zandercymatics 2024-05-30 09:52:50 -06:00
parent a5a0c136df
commit e94412e7a5
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
4 changed files with 35 additions and 20 deletions

View file

@ -71,7 +71,7 @@ class UserProfileView(UserProfilePermissionView, FormMixin):
# Preserve queryparams and add them back to the url
base_url = reverse("user-profile")
new_redirect = replace_url_queryparams(base_url, query_params) if query_params else base_url
new_redirect = replace_url_queryparams(base_url, query_params, convert_list_to_csv=True)
return new_redirect
def post(self, request, *args, **kwargs):