From 9c654fd7dfae5c96a31201d8a764db120847a772 Mon Sep 17 00:00:00 2001 From: romandykyi Date: Thu, 8 Feb 2024 16:35:30 +0100 Subject: [PATCH] Minor refactor --- AdvancedTodoList.IntegrationTests/IntegrationTest.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/AdvancedTodoList.IntegrationTests/IntegrationTest.cs b/AdvancedTodoList.IntegrationTests/IntegrationTest.cs index 8423683..dabb93e 100644 --- a/AdvancedTodoList.IntegrationTests/IntegrationTest.cs +++ b/AdvancedTodoList.IntegrationTests/IntegrationTest.cs @@ -8,14 +8,14 @@ namespace AdvancedTodoList.IntegrationTests; /// /// Base class for integration tests. /// -public class IntegrationTest +public abstract class IntegrationTest { private static bool s_migrated = false; private static MsSqlContainer s_testDbContainer; protected static TestingWebApplicationFactory WebApplicationFactory { get; private set; } - protected static IServiceScopeFactory ScopeFactory { get; private set; } - protected static IServiceScope ServiceScope { get; private set; } - protected static ApplicationDbContext DbContext { get; private set; } + protected IServiceScopeFactory ScopeFactory { get; private set; } + protected IServiceScope ServiceScope { get; private set; } + protected ApplicationDbContext DbContext { get; private set; } [SetUp] public async Task SetUpServices()