Skip to content
Snippets Groups Projects
Commit 0aad0cae authored by Allen Gilliland's avatar Allen Gilliland
Browse files

fix up user api test after we updated one of the response codes for an endpoint.

parent efa29f1c
Branches
Tags
No related merge requests found
......@@ -217,7 +217,7 @@
((user->client :rasta) :put 400 (format "user/%d/password" (user->id :rasta)) {}))
;; Make sure that if current password doesn't match we get a 400
(expect "password mismatch"
(expect {:errors {:old_password "Invalid password"}}
((user->client :rasta) :put 400 (format "user/%d/password" (user->id :rasta)) {:password "whateverUP12!!"
:old_password "mismatched"}))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment