From bd5dd57c6c21095dff5a05bf9f3daf50e826e26f Mon Sep 17 00:00:00 2001 From: shibao Date: Sun, 26 Feb 2023 00:38:00 -0500 Subject: [PATCH] name discard --- test/lokal/accounts_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lokal/accounts_test.exs b/test/lokal/accounts_test.exs index f98a512..bed340a 100644 --- a/test/lokal/accounts_test.exs +++ b/test/lokal/accounts_test.exs @@ -512,7 +512,7 @@ defmodule Lokal.AccountsTest do test "deletes all tokens for the given user", %{user: user} do _session_token = Accounts.generate_user_session_token(user) - {:ok, _} = Accounts.reset_user_password(user, %{"password" => "new valid password"}) + {:ok, _user} = Accounts.reset_user_password(user, %{"password" => "new valid password"}) refute Repo.get_by(UserToken, user_id: user.id) end end