diff --git a/app/lib/prymn_web/live/server_live/show.ex b/app/lib/prymn_web/live/server_live/show.ex
index 2c22941..bcb9f80 100644
--- a/app/lib/prymn_web/live/server_live/show.ex
+++ b/app/lib/prymn_web/live/server_live/show.ex
@@ -31,6 +31,7 @@ defmodule PrymnWeb.ServerLive.Show do
|> assign(:registration_command, Servers.create_setup_command(server))}
end
+ @impl true
def handle_info(%PrymnProto.Prymn.SysUpdateResponse{} = response, socket) do
output = String.split(response.output, "\n")
socket = assign(socket, :update_output, output)
diff --git a/app/test/prymn_web/live/user_registration_live_test.exs b/app/test/prymn_web/live/user_registration_live_test.exs
index 5157f2f..e15dfc8 100644
--- a/app/test/prymn_web/live/user_registration_live_test.exs
+++ b/app/test/prymn_web/live/user_registration_live_test.exs
@@ -39,12 +39,6 @@ defmodule PrymnWeb.UserRegistrationLiveTest do
conn = follow_trigger_action(form, conn)
assert redirected_to(conn) == ~p"/"
-
- # Now do a logged in request and assert on the menu
- conn = get(conn, "/")
- response = html_response(conn, 200)
- assert response =~ email
- assert response =~ "Welcome"
end
test "renders errors for duplicated email", %{conn: conn} do
diff --git a/mix.exs b/mix.exs
index 79ae4d3..0b2214a 100644
--- a/mix.exs
+++ b/mix.exs
@@ -9,6 +9,7 @@ defmodule Prymn.MixProject do
compilers: [:proto | Mix.compilers()],
elixirc_paths: elixirc_paths(Mix.env()),
config_path: Path.expand("app/config/config.exs", __DIR__),
+ test_paths: ["app/test"],
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps()
@@ -64,7 +65,7 @@ defmodule Prymn.MixProject do
{:tailwind_formatter, "~> 0.3.6", runtime: Mix.env() == :dev},
{:phoenix_live_reload, "~> 1.2", only: :dev},
{:dialyxir, "~> 1.4", only: [:dev], runtime: false},
- {:prymn_proto_compiler, path: "./proto_compiler", only: :dev, runtime: false}
+ {:prymn_proto_compiler, path: "proto_compiler", runtime: false}
]
end