-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make password and reset_password exclusive #262
Make password and reset_password exclusive #262
Conversation
fb3a12c
to
66cf697
Compare
Can we have an acceptance test with an empty password? |
66cf697
to
58067bf
Compare
@roidelapluie is this OK as test? I don't set a password during the creation, but then it's set during the user update test. Still, I don't think we can check if the password has been set because the password is (obviously) never sent back by GitLab. Thus, I removed that part. |
e254509
to
3954d82
Compare
3954d82
to
94087df
Compare
94087df
to
9432fb7
Compare
Making the password optional has been solved by #340, so this PR now just ensure that either |
9432fb7
to
1033886
Compare
1033886
to
ffca640
Compare
@ilpianista Can you add two new tests?
|
@armsnyder I implemented 2). To implement 1), I simply removed the |
b779e7d
to
46a9dbf
Compare
Co-authored-by: Adam Snyder <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
The documentation works when either
password
orreset_password
is set.