aboutsummaryrefslogtreecommitdiff
path: root/test/schema/key_test.exs
diff options
context:
space:
mode:
authorSimponic <loganhunt@simponic.xyz>2023-02-01 14:57:14 -0700
committerGitHub <noreply@github.com>2023-02-01 14:57:14 -0700
commitfe5f5b77fcc3ef24516866561f9b54ac07663ad6 (patch)
treeba63998ec306983d87594195d60ecb0abb6ea5d1 /test/schema/key_test.exs
parent324d041d5c5cbcdf0083dcd802144a57443789f6 (diff)
downloadchessh-fe5f5b77fcc3ef24516866561f9b54ac07663ad6.tar.gz
chessh-fe5f5b77fcc3ef24516866561f9b54ac07663ad6.zip
Discord notifs (#14)
* Add role id to config * Add discord notifications for games * Fix discord discriminant tests
Diffstat (limited to 'test/schema/key_test.exs')
-rw-r--r--test/schema/key_test.exs6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/schema/key_test.exs b/test/schema/key_test.exs
index 6dbb574..4b62d7f 100644
--- a/test/schema/key_test.exs
+++ b/test/schema/key_test.exs
@@ -4,17 +4,17 @@ defmodule Chessh.Schema.KeyTest do
alias Chessh.Key
@valid_attrs %{
- name: "Logan's Key",
+ name: "Lizzy's Key",
key:
{{{:ECPoint,
<<159, 246, 44, 226, 70, 24, 71, 127, 118, 17, 96, 71, 18, 121, 48, 203, 244, 140, 156,
56, 179, 138, 64, 242, 169, 140, 109, 156, 174, 148, 222, 56>>},
- {:namedCurve, {1, 3, 101, 112}}}, [comment: 'logan@yagami']}
+ {:namedCurve, {1, 3, 101, 112}}}, [comment: 'lizzy@yagami']}
}
@valid_key_attrs %{
name: "asdf key",
key:
- "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC7Mpf2QIL32MmKxcrXAoZM3l7/hBy+8d+WqTRMun+tC/XYNiXSIDuZv01an3D1d22fmSpZiprFQzjB4yEz23qw= logan@yagami"
+ "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC7Mpf2QIL32MmKxcrXAoZM3l7/hBy+8d+WqTRMun+tC/XYNiXSIDuZv01an3D1d22fmSpZiprFQzjB4yEz23qw= lizzy@yagami"
}
@invalid_key_attrs %{
name: "An Invalid Key",