From cac78a4f4eced88878e746d96b305ecc62826494 Mon Sep 17 00:00:00 2001 From: Logan Hunt Date: Tue, 31 Jan 2023 14:01:35 -0700 Subject: Move to discord oauth --- test/auth/password_test.exs | 2 +- test/auth/pubkey_test.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test/auth') diff --git a/test/auth/password_test.exs b/test/auth/password_test.exs index 55d9867..4072293 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", github_id: 1} + @valid_user %{username: "logan", password: "password", discord_id: "1"} setup_all do Ecto.Adapters.SQL.Sandbox.checkout(Repo) diff --git a/test/auth/pubkey_test.exs b/test/auth/pubkey_test.exs index 52d326a..690dfdf 100644 --- a/test/auth/pubkey_test.exs +++ b/test/auth/pubkey_test.exs @@ -2,7 +2,7 @@ defmodule Chessh.Auth.PublicKeyAuthenticatorTest do use ExUnit.Case alias Chessh.{Key, Repo, Player} - @valid_user %{username: "logan", password: "password", github_id: 2} + @valid_user %{username: "logan", password: "password", discord_id: "2"} @valid_key %{ name: "The Gamer Machine", key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ/2LOJGGEd/dhFgRxJ5MMv0jJw4s4pA8qmMbZyulN44" -- cgit v1.2.3-70-g09d2