diff --git a/test/plausible_web/controllers/site_controller_test.exs b/test/plausible_web/controllers/site_controller_test.exs index ac950c48b..3a6dc0bd5 100644 --- a/test/plausible_web/controllers/site_controller_test.exs +++ b/test/plausible_web/controllers/site_controller_test.exs @@ -54,7 +54,13 @@ defmodule PlausibleWeb.SiteControllerTest do test "invitations are case insensitive", %{conn: conn, user: user} do site = insert(:site) - insert(:invitation, email: String.upcase(user.email), site_id: site.id, inviter: build(:user)) + + insert(:invitation, + email: String.upcase(user.email), + site_id: site.id, + inviter: build(:user) + ) + conn = get(conn, "/sites") assert html_response(conn, 200) =~ site.domain