Skip to content

Commit

Permalink
Remove unnecessary static declarations.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTedder committed Oct 13, 2023
1 parent fd1b1c7 commit 6124808
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions LeaderboardBackend.Test/TestApi/TestApiFactory.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
using System;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using LeaderboardBackend.Models.Entities;
using LeaderboardBackend.Test.Lib;
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;
Expand Down Expand Up @@ -65,7 +63,7 @@ public void InitializeDatabase()
InitializeDatabase(dbContext);
}

private static void InitializeDatabase(ApplicationContext dbContext)
private void InitializeDatabase(ApplicationContext dbContext)
{
if (!_migrated)
{
Expand All @@ -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)
{
Expand Down

0 comments on commit 6124808

Please sign in to comment.