diff --git a/BusinessMonitor.MailTools.Test/ResolverTests.cs b/BusinessMonitor.MailTools.Test/ResolverTests.cs index 9007515..80f7703 100644 --- a/BusinessMonitor.MailTools.Test/ResolverTests.cs +++ b/BusinessMonitor.MailTools.Test/ResolverTests.cs @@ -40,7 +40,7 @@ public void TestMailLookup() var records = resolver.GetMailRecords("businessmonitor.nl"); Assert.That(records.Length, Is.GreaterThan(0)); - Assert.That(records.Any(x => x.EndsWith("mail.protection.outlook.com")), Is.True); + Assert.That(records, Has.Some.Matches(x => x.EndsWith("mail.protection.outlook.com") || x.EndsWith("mail.protection.outlook.com."))); } } }