Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arkindex
Backend
Merge requests
!2326
Update session data when updating the password with UpdateUser
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update session data when updating the password with UpdateUser
pwd-update-session
into
master
Overview
0
Commits
2
Pipelines
0
Changes
2
Merged
Valentin Rigal
requested to merge
pwd-update-session
into
master
10 months ago
Overview
0
Commits
2
Pipelines
0
Changes
2
Expand
Closes
#1767 (closed)
Edited
10 months ago
by
Valentin Rigal
0
0
Merge request reports
Compare
master
version 1
eee8c9a1
10 months ago
master (base)
and
latest version
latest version
b1ce2197
2 commits,
9 months ago
version 1
eee8c9a1
2 commits,
10 months ago
2 files
+
8
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
arkindex/users/tests/test_registration.py
+
6
−
0
Options
@@ -57,6 +57,12 @@ class TestRegistration(FixtureAPITestCase):
self
.
assertEqual
(
response
.
status_code
,
status
.
HTTP_200_OK
)
self
.
user
.
refresh_from_db
()
self
.
assertTrue
(
self
.
user
.
check_password
(
"
N€wP4$5w0Rd
"
))
# Ensure client session is still valid
response
=
self
.
client
.
get
(
reverse
(
"
api:user-retrieve
"
),
format
=
"
json
"
,
)
self
.
assertEqual
(
response
.
status_code
,
status
.
HTTP_200_OK
)
def
test_update_display_name
(
self
):
self
.
client
.
force_login
(
self
.
user
)
Loading