More test stuff

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2018-11-28 17:16:23 +01:00
parent afb9b797ba
commit 534138f775
8 changed files with 86 additions and 79 deletions

View File

@@ -26,7 +26,7 @@ defmodule Mobilizon.Actors.Service.ResetPassword do
{:error, %Ecto.Changeset{errors: [password: {"registration.error.password_too_short", _}]}} ->
{:error, :password_too_short}
err ->
_err ->
{:error, :invalid_token}
end
end