summaryrefslogtreecommitdiff
path: root/test/auth/password_test.exs
diff options
context:
space:
mode:
Diffstat (limited to 'test/auth/password_test.exs')
-rw-r--r--test/auth/password_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/auth/password_test.exs b/test/auth/password_test.exs
index 4072293..86c3758 100644
--- a/test/auth/password_test.exs
+++ b/test/auth/password_test.exs
@@ -2,7 +2,7 @@ defmodule Chessh.Auth.PasswordAuthenticatorTest do
use ExUnit.Case
alias Chessh.{Player, Repo}
- @valid_user %{username: "logan", password: "password", discord_id: "1"}
+ @valid_user %{username: "lizzy#0003", password: "password", discord_id: "1"}
setup_all do
Ecto.Adapters.SQL.Sandbox.checkout(Repo)
@@ -26,7 +26,7 @@ defmodule Chessh.Auth.PasswordAuthenticatorTest do
end
test "Password can authenticate a user instance" do
- player = Repo.get_by(Player, username: "logan")
+ player = Repo.get_by(Player, username: "lizzy#0003")
assert Chessh.Auth.PasswordAuthenticator.authenticate(
player,