Răsfoiți Sursa

Merge pull request #34 from crobibero/api-tests

Do not use the "Microsoft.NET.Sdk.Web" SDK in the test project
Mark Monteiro 5 ani în urmă
părinte
comite
713f8b2f4b

+ 0 - 3
tests/MediaBrowser.Api.Tests/BrandingServiceTests.cs

@@ -1,9 +1,6 @@
-using System;
 using System.Text.Json;
 using System.Threading.Tasks;
-using Jellyfin.Server;
 using MediaBrowser.Model.Branding;
-using Microsoft.AspNetCore.Mvc.Testing;
 using Xunit;
 
 namespace MediaBrowser.Api.Tests

+ 0 - 5
tests/MediaBrowser.Api.Tests/JellyfinApplicationFactory.cs

@@ -1,9 +1,5 @@
-using System;
 using System.Collections.Concurrent;
-using System.Collections.Generic;
 using System.IO;
-using System.Linq;
-using System.Threading.Tasks;
 using Emby.Server.Implementations;
 using Emby.Server.Implementations.IO;
 using Emby.Server.Implementations.Networking;
@@ -14,7 +10,6 @@ using Microsoft.AspNetCore.Hosting;
 using Microsoft.AspNetCore.Mvc.Testing;
 using Microsoft.AspNetCore.TestHost;
 using Microsoft.Extensions.DependencyInjection;
-using Microsoft.Extensions.Hosting;
 using Microsoft.Extensions.Logging;
 using Serilog;
 using Serilog.Extensions.Logging;

+ 1 - 1
tests/MediaBrowser.Api.Tests/MediaBrowser.Api.Tests.csproj

@@ -1,4 +1,4 @@
-<Project Sdk="Microsoft.NET.Sdk.Web">
+<Project Sdk="Microsoft.NET.Sdk">
 
   <PropertyGroup>
     <TargetFramework>netcoreapp3.1</TargetFramework>