Skip to content

Commit 496c948

Browse files
committed
zd-6117313: Allow Lancaster and Morecambe College
Add `lmc.ac.uk`, the domain of Lancaster and Morecambe College, to the email allow list and associated tests.
1 parent 1730361 commit 496c948

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/main/java/uk/gov/pay/adminusers/utils/email/EmailValidator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public class EmailValidator {
4141
"judiciary.uk",
4242
"improvementservice.org.uk",
4343
"llyw.cymru",
44+
"lmc.ac.uk",
4445
"mil.uk",
4546
"mod.uk",
4647
"naturalengland.org.uk",

src/test/java/uk/gov/pay/adminusers/utils/email/EmailValidatorIsPublicSectorEmailTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ static Collection<Object[]> data() {
7272
{"valid@improvementservice.org.uk", true},
7373
{"valid@judiciary.uk", true},
7474
{"valid@llyw.cymru", true},
75+
{"valid@lmc.ac.uk", true},
7576
{"valid@mil.uk", true},
7677
{"valid@mod.uk", true},
7778
{"valid@naturalengland.org.uk", true},
@@ -132,6 +133,7 @@ static Collection<Object[]> data() {
132133
{"valid@subdomain.improvementservice.org.uk", true},
133134
{"valid@subdomain.judiciary.uk", true},
134135
{"valid@subdomain.llyw.cymru", true},
136+
{"valid@subdomain.lmc.ac.uk", true},
135137
{"valid@subdomain.mil.uk", true},
136138
{"valid@subdomain.mod.uk", true},
137139
{"valid@subdomain.naturalengland.org.uk", true},

0 commit comments

Comments
 (0)