refactor: address review comments for join request settings
This commit is contained in:
parent
05e2a298fe
commit
21812542ad
6 changed files with 29 additions and 15 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue