diff --git a/src/main/java/uk/gov/pay/adminusers/utils/email/EmailValidator.java b/src/main/java/uk/gov/pay/adminusers/utils/email/EmailValidator.java index 05fe827f4..a128ca3e1 100644 --- a/src/main/java/uk/gov/pay/adminusers/utils/email/EmailValidator.java +++ b/src/main/java/uk/gov/pay/adminusers/utils/email/EmailValidator.java @@ -63,6 +63,7 @@ public class EmailValidator { "sssc.uk.com", "tfgm.com", "ucds.email", + "ukaea.uk", "uksbs.co.uk", "wmca.org.uk", "york.ac.uk" diff --git a/src/test/java/uk/gov/pay/adminusers/utils/email/EmailValidatorIsPublicSectorEmailTest.java b/src/test/java/uk/gov/pay/adminusers/utils/email/EmailValidatorIsPublicSectorEmailTest.java index bad8bb30d..7cebe3d44 100644 --- a/src/test/java/uk/gov/pay/adminusers/utils/email/EmailValidatorIsPublicSectorEmailTest.java +++ b/src/test/java/uk/gov/pay/adminusers/utils/email/EmailValidatorIsPublicSectorEmailTest.java @@ -93,6 +93,7 @@ static Collection data() { {"valid@sssc.uk.com", true}, {"valid@tfgm.com", true}, {"valid@ucds.email", true}, + {"valid@ukaea.uk", true}, {"valid@uksbs.co.uk", true}, {"valid@wmca.org.uk", true}, {"valid@york.ac.uk", true}, @@ -143,6 +144,7 @@ static Collection data() { {"valid@subdomain.socialworkengland.org.uk", true}, {"valid@subdomain.tfgm.com", true}, {"valid@subdomain.ucds.email", true}, + {"valid@subdomain.ukaea.uk", true}, {"valid@subdomain.uksbs.co.uk", true}, {"valid@subdomain.sssc.uk.com", true}, {"valid@subdomain.wmca.org.uk", true},