refactor: address review comments for join request settings
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/promote/production Build is passing

This commit is contained in:
Simon 2026-03-10 16:47:38 +01:00
parent 05e2a298fe
commit 21812542ad
Signed by: simon
GPG key ID: 40E7A58C4AA1EDB2
6 changed files with 29 additions and 15 deletions

View file

@ -11,6 +11,8 @@ defmodule Mv.Membership.SettingJoinFormTest do
- `Mv.Membership.get_join_form_allowlist/0` is implemented and returns the allowlist
for the public join form (subtask 4).
"""
# Settings is a singleton; tests mutate shared DB state. We use async: false and on_exit to restore
# original values because Ecto Sandbox transaction rollback does not apply to this singleton pattern.
use Mv.DataCase, async: false
alias Mv.Constants