From 61248084fa33a6b0a61cde9c151ad4018702bc52 Mon Sep 17 00:00:00 2001 From: Ted Wollman <25165500+TheTedder@users.noreply.github.com> Date: Fri, 13 Oct 2023 19:39:00 -0400 Subject: [PATCH] Remove unnecessary static declarations. --- LeaderboardBackend.Test/TestApi/TestApiFactory.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/LeaderboardBackend.Test/TestApi/TestApiFactory.cs b/LeaderboardBackend.Test/TestApi/TestApiFactory.cs index 7df40d58..6eaec1fa 100644 --- a/LeaderboardBackend.Test/TestApi/TestApiFactory.cs +++ b/LeaderboardBackend.Test/TestApi/TestApiFactory.cs @@ -1,5 +1,4 @@ using System; -using System.Linq; using System.Net.Http; using System.Threading.Tasks; using LeaderboardBackend.Models.Entities; @@ -7,7 +6,6 @@ using MailKit.Net.Smtp; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.Testing; -using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Hosting; @@ -65,7 +63,7 @@ public void InitializeDatabase() InitializeDatabase(dbContext); } - private static void InitializeDatabase(ApplicationContext dbContext) + private void InitializeDatabase(ApplicationContext dbContext) { if (!_migrated) { @@ -75,7 +73,7 @@ private static void InitializeDatabase(ApplicationContext dbContext) Seed(dbContext); } - private static void Seed(ApplicationContext dbContext) + private void Seed(ApplicationContext dbContext) { if (!_seeded) {