Skip to content

Commit 3a45fd9

Browse files
pandafynemesifier
authored andcommitted
[tests] Fixed user integration tests
1 parent 115cd9a commit 3a45fd9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

openwisp_controller/tests/mixins.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ def _get_org_edit_form_inline_params(self, user, org):
1414
# device limit inline
1515
"config_limits-TOTAL_FORMS": 0,
1616
"config_limits-INITIAL_FORMS": 0,
17+
# notification settings inline
18+
"notification_settings-TOTAL_FORMS": 1,
19+
"notification_settings-INITIAL_FORMS": 1,
20+
"notification_settings-MIN_NUM_FORMS": 0,
21+
"notification_settings-MAX_NUM_FORMS": 1,
1722
}
1823
)
1924
return params

0 commit comments

Comments
 (0)