test: add tests for join request page

This commit is contained in:
Simon 2026-03-10 17:18:14 +01:00
parent 21812542ad
commit eadf90b5fc
Signed by: simon
GPG key ID: 40E7A58C4AA1EDB2
5 changed files with 173 additions and 4 deletions

View file

@ -204,6 +204,12 @@ defmodule MvWeb.Plugs.CheckPagePermissionTest do
refute conn.halted
end
test "unauthenticated user can access /join (public join page, no redirect)" do
conn = conn_without_user("/join") |> CheckPagePermission.call([])
refute conn.halted
end
end
describe "error handling" do