1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-08 06:28:14 -05:00

Switch to empty builder

This commit is contained in:
Justin Baur 2025-04-06 10:06:42 -04:00
parent 0400ae187a
commit ee4678453b
No known key found for this signature in database

View File

@ -259,9 +259,7 @@ public class X509ChainCustomizationServiceCollectionExtensionsTests
private static async Task<IAsyncDisposable> CreateServerAsync(int port, Action<HttpsConnectionAdapterOptions> configure)
{
// Start HTTP Server with self signed cert
var builder = WebApplication.CreateSlimBuilder();
builder.Logging.AddFakeLogging();
var builder = WebApplication.CreateEmptyBuilder(new WebApplicationOptions());
builder.Services.AddRoutingCore();
builder.WebHost.UseKestrelCore()
.ConfigureKestrel(options =>