forked from Github-Mirrors/canaille
tests: fix coverage
This commit is contained in:
parent
c895366684
commit
c6a543535c
1 changed files with 1 additions and 2 deletions
|
@ -789,7 +789,6 @@ def profile_settings_edit(editor, edited_user):
|
|||
if hasattr(edited_user, k) and k in available_fields
|
||||
}
|
||||
|
||||
if "groups" in fields:
|
||||
data["groups"] = [g.id for g in edited_user.groups]
|
||||
|
||||
form = build_profile_form(
|
||||
|
|
Loading…
Reference in a new issue