Skip to content

Commit

Permalink
fix tests: add id to the input "New password"
Browse files Browse the repository at this point in the history
  • Loading branch information
the-last-pastafarian committed Dec 6, 2023
1 parent 52e170f commit 6b5771d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions server/lib/field_hub_web/live/project_show_live.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@
<input
type="text"
placeholder="New password"
id="password"
name="password"
value={@new_password}
/>
Expand Down
2 changes: 1 addition & 1 deletion server/test/field_hub_web/live/project_show_live_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ defmodule FieldHubWeb.ProjectShowLiveTest do
{:ok, %{conn: conn}}
end

test "admin has passwort setting interface", %{conn: conn} do
test "admin has password setting interface", %{conn: conn} do
{:ok, view, _html_on_mount} = live(conn, "/ui/projects/show/#{@project}")

html = render(view)
Expand Down

0 comments on commit 6b5771d

Please sign in to comment.