Remove folders feature flag

Every service has this feature now[1] so we don’t need to check whether
or not it’s switched on any more.

1. https://github.com/alphagov/notifications-api/pull/2286
This commit is contained in:
Chris Hill-Scott
2019-02-11 16:06:46 +00:00
parent 0c823db970
commit 3a5bfeb7aa
7 changed files with 38 additions and 105 deletions

View File

@@ -56,11 +56,11 @@ def test_letters_lets_in_without_permission(
@pytest.mark.parametrize('permissions, choices', [
(
['email', 'sms', 'letter'],
['Email template', 'Text message template', 'Letter template', 'Copy of an existing template']
['Email template', 'Text message template', 'Letter template', 'Copy of an existing template', 'Folder']
),
(
['email', 'sms'],
['Email template', 'Text message template', 'Copy of an existing template']
['Email template', 'Text message template', 'Copy of an existing template', 'Folder']
),
])
def test_given_option_to_add_letters_if_allowed(