mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Add missing assertion to user_controller_test
This commit is contained in:
@@ -18,6 +18,7 @@ defmodule FgHttpWeb.NewDeviceLive do
|
||||
end
|
||||
|
||||
device = %Device{user_id: user_id}
|
||||
|
||||
{:ok, assign(socket, :device, device)}
|
||||
end
|
||||
|
||||
|
||||
@@ -98,6 +98,8 @@ defmodule FgHttpWeb.UserControllerTest do
|
||||
|
||||
test "does nothing when password params are empty", %{authed_conn: conn} do
|
||||
test_conn = put(conn, Routes.user_path(conn, :update), user: @empty_update_password_attrs)
|
||||
|
||||
assert redirected_to(test_conn) =~ Routes.user_path(test_conn, :show)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user