From 149647cef3d203cad8dd4c3349d9256af11a3c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9E=D0=BB=D1=8F=20=D0=91=D0=B8=D0=B7=D1=8E=D0=BA=D0=BE?= =?UTF-8?q?=D0=B2=D0=B0?= Date: Thu, 12 Dec 2024 13:16:02 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=20=D0=BB?= =?UTF-8?q?=D0=B8=D1=88=D0=BD=D0=B8=D0=B9=20=D1=84=D0=B0=D0=B9=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Extensions/EFCoreExtensions.cs | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 Persistence.IntegrationTests/Extensions/EFCoreExtensions.cs diff --git a/Persistence.IntegrationTests/Extensions/EFCoreExtensions.cs b/Persistence.IntegrationTests/Extensions/EFCoreExtensions.cs deleted file mode 100644 index 260284a..0000000 --- a/Persistence.IntegrationTests/Extensions/EFCoreExtensions.cs +++ /dev/null @@ -1,14 +0,0 @@ -using Persistence.Database.Model; - -namespace Persistence.IntegrationTests.Extensions; - -public static class EFCoreExtensions -{ - public static void CleanupDbSet(this PersistenceDbContext dbContext) - where T : class - { - var dbSet = dbContext.Set(); - dbSet.RemoveRange(dbSet); - dbContext.SaveChanges(); - } -}