mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 18:07:21 +00:00
Upgraded to .NET 10 (#1147)
This commit is contained in:
1 parent
faae2951f7
commit
fc7399e81b
327 files changed
+3059
-3049
No files matched your search
@@ -42,7 +42,7 @@ public sealed class MailboxProviderConfigurationTests
|
||||
});
|
||||
|
||||
Assert.That(provider, Is.Not.Null);
|
||||
Assert.Multiple(() =>
|
||||
using (Assert.EnterMultipleScope())
|
||||
{
|
||||
Assert.That(provider!.Id, Is.EqualTo(ID));
|
||||
Assert.That(provider.EnterpriseConfigurationPluginId, Is.EqualTo(PLUGIN_ID));
|
||||
@@ -52,7 +52,7 @@ public sealed class MailboxProviderConfigurationTests
|
||||
Assert.That(provider.Port, Is.EqualTo(1143));
|
||||
Assert.That(provider.UsernameHint, Is.EqualTo(@"Your account as DOMAIN\username"));
|
||||
Assert.That(provider.HelpUrl, Is.EqualTo("https://intranet.example.org/mail/imap"));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
[Test]
|
||||
@@ -61,14 +61,14 @@ public sealed class MailboxProviderConfigurationTests
|
||||
var withoutEncryption = await ReadAsync(new Dictionary<string, string?>());
|
||||
var withStartTls = await ReadAsync(new Dictionary<string, string?> { ["TransportSecurity"] = "\"STARTTLS\"" });
|
||||
|
||||
Assert.Multiple(() =>
|
||||
using (Assert.EnterMultipleScope())
|
||||
{
|
||||
Assert.That(withoutEncryption?.TransportSecurity, Is.EqualTo(MailboxTransportSecurity.SSL_ON_CONNECT), "TLS from the first byte on is the safer of the two ways.");
|
||||
Assert.That(withoutEncryption?.Port, Is.EqualTo(993));
|
||||
Assert.That(withStartTls?.Port, Is.EqualTo(143));
|
||||
Assert.That(withoutEncryption?.UsernameHint, Is.Empty);
|
||||
Assert.That(withoutEncryption?.HelpUrl, Is.Empty);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
Reference in new issue
Block a user