diff options
author | azul <azul@riseup.net> | 2017-03-14 15:17:26 +0000 |
---|---|---|
committer | azul <azul@riseup.net> | 2017-03-14 15:17:26 +0000 |
commit | 1a69dc86077e5bbde4b6a8f181e5711384c1f253 (patch) | |
tree | 618476e33e96fe4528b8e870f51d079ae0e43e76 /test/integration/api | |
parent | 67824594246aee807ebacdf61c4e2d0a136eab73 (diff) | |
parent | 19714d01e28ca9ba37564fe0ad48d81c665806dd (diff) |
Merge branch 'recovery-code' into 'master'
Update recovery code
See merge request !16
Diffstat (limited to 'test/integration/api')
-rw-r--r-- | test/integration/api/update_account_test.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/integration/api/update_account_test.rb b/test/integration/api/update_account_test.rb index 1492006..108f05d 100644 --- a/test/integration/api/update_account_test.rb +++ b/test/integration/api/update_account_test.rb @@ -28,6 +28,12 @@ class UpdateAccountTest < SrpTest assert server_auth["M2"] end + test "update recovery code via api" do + authenticate + update_user recovery_code_verifier: "123", recovery_code_salt: "456" + assert last_response.successful? + end + test "change login with password_verifier" do authenticate new_login = 'zaph' |