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(); - } }