Skip to content

Commit

Permalink
Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
SapiensAnatis committed Jun 13, 2024
1 parent 0ec590c commit 944c1f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Testing;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.Configuration;

namespace DragaliaAPI.Photon.StateManager.Test;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Net.Http.Headers;
using DragaliaAPI.Photon.StateManager.Models;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Redis.OM.Contracts;
Expand All @@ -16,13 +15,12 @@ public TestFixture(CustomWebApplicationFactory factory, ITestOutputHelper output
{
this.Client = factory
.WithWebHostBuilder(builder =>
{
builder.ConfigureLogging(logging =>
{
logging.ClearProviders();
logging.AddXUnit(outputHelper);
});
})
})
)
.CreateClient();

this.Client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(
Expand Down

0 comments on commit 944c1f8

Please sign in to comment.