summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimponic <elizabeth.hunt@simponic.xyz>2023-01-28 23:04:49 -0700
committerSimponic <elizabeth.hunt@simponic.xyz>2023-01-29 00:15:25 -0700
commitecd07b0c9b81cfa1cf09abae8caacc04af20e911 (patch)
tree3af3491a2df279375a0aaf46b77d0c507c92b3c6 /test
parent593a631a564926b5b118805b8bea13a753e4757d (diff)
downloadchessh-ecd07b0c9b81cfa1cf09abae8caacc04af20e911.tar.gz
chessh-ecd07b0c9b81cfa1cf09abae8caacc04af20e911.zip
Set ssh port in test config, move asciinema-player to reg deps
Diffstat (limited to 'test')
-rw-r--r--test/ssh/ssh_auth_test.exs6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ssh/ssh_auth_test.exs b/test/ssh/ssh_auth_test.exs
index 54b0069..70a57be 100644
--- a/test/ssh/ssh_auth_test.exs
+++ b/test/ssh/ssh_auth_test.exs
@@ -38,7 +38,7 @@ defmodule Chessh.SSH.AuthTest do
send(
parent,
{:attempted,
- :ssh.connect(@localhost, Application.fetch_env!(:chessh, :port),
+ :ssh.connect(@localhost, Application.fetch_env!(:chessh, :ssh_port),
user: String.to_charlist(@valid_user.username),
password: String.to_charlist(@valid_user.password),
auth_methods: auth_method,
@@ -90,7 +90,7 @@ defmodule Chessh.SSH.AuthTest do
Task.Supervisor.start_child(sup, fn ->
{:ok, conn} =
- :ssh.connect(@localhost, Application.fetch_env!(:chessh, :port),
+ :ssh.connect(@localhost, Application.fetch_env!(:chessh, :ssh_port),
user: String.to_charlist(@valid_user.username),
password: String.to_charlist(@valid_user.password),
auth_methods: 'password',
@@ -105,7 +105,7 @@ defmodule Chessh.SSH.AuthTest do
Task.Supervisor.start_child(sup, fn ->
{:ok, conn} =
- :ssh.connect(@localhost, Application.fetch_env!(:chessh, :port),
+ :ssh.connect(@localhost, Application.fetch_env!(:chessh, :ssh_port),
user: String.to_charlist(@valid_user.username),
auth_methods: 'publickey',
silently_accept_hosts: true,