Skip to content

Commit

Permalink
Fix test for phoenix liveview 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ukutaht committed Jan 7, 2025
1 parent a150f84 commit 7da390e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ defmodule PlausibleWeb.SettingsControllerTest do
end

test "renders form with error on no fields filled", %{conn: conn} do
conn = post(conn, Routes.settings_path(conn, :update_email), %{"user" => %{}})
conn = post(conn, Routes.settings_path(conn, :update_email), %{"user" => %{"email" => ""}})

assert text(html_response(conn, 200)) =~ "can't be blank"
end
Expand Down

0 comments on commit 7da390e

Please sign in to comment.