From 96284a764c91d79963b748f08f57948a7d16147a Mon Sep 17 00:00:00 2001 From: Hinton Date: Mon, 26 May 2025 17:26:04 +0200 Subject: [PATCH] Remove dispose --- test/Events.IntegrationTest/EventsApplicationFactory.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/test/Events.IntegrationTest/EventsApplicationFactory.cs b/test/Events.IntegrationTest/EventsApplicationFactory.cs index 58877111e5..79f864f782 100644 --- a/test/Events.IntegrationTest/EventsApplicationFactory.cs +++ b/test/Events.IntegrationTest/EventsApplicationFactory.cs @@ -6,7 +6,6 @@ using Bit.IntegrationTestCommon.Factories; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; -using Microsoft.Data.Sqlite; using Microsoft.Extensions.DependencyInjection; namespace Bit.Events.IntegrationTest; @@ -63,10 +62,4 @@ public class EventsApplicationFactory : WebApplicationFactoryBase return await _identityApplicationFactory.TokenFromPasswordAsync(email, masterPasswordHash); } - - protected override void Dispose(bool disposing) - { - base.Dispose(disposing); - SqliteConnection!.Dispose(); - } }