test: add tests for join request page
This commit is contained in:
parent
21812542ad
commit
eadf90b5fc
5 changed files with 173 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue