From 50bb20ad32a9239353e26614aa9d42d41d902a0d Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 22 Mar 2019 16:27:30 +0000 Subject: [PATCH] Allow up to 20 domains per organisation The most we have in the spreadsheet is 18 --- app/main/forms.py | 4 ++-- .../views/organisations/test_organisation_invites.py | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/app/main/forms.py b/app/main/forms.py index bd3267e4c..0c607ce1b 100644 --- a/app/main/forms.py +++ b/app/main/forms.py @@ -580,8 +580,8 @@ class OrganisationDomainsForm(StripWhitespaceForm): ], default='' ), - min_entries=10, - max_entries=10, + min_entries=20, + max_entries=20, label="Domain names" ) diff --git a/tests/app/main/views/organisations/test_organisation_invites.py b/tests/app/main/views/organisations/test_organisation_invites.py index f1bf4ee10..145b8868c 100644 --- a/tests/app/main/views/organisations/test_organisation_invites.py +++ b/tests/app/main/views/organisations/test_organisation_invites.py @@ -729,6 +729,16 @@ def test_view_organisation_domains( '', '', '', + '', + '', + '', + '', + '', + '', + '', + '', + '', + '', ]