The Free Software Media System - Server Backend & API
PR style comments
Ben Magee8c4e679ff4c7
diff --git a/tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs b/tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.csindex bd23ca869b..f202f59e61 100644--- a/tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs+++ b/tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs@@ -36,7 +36,12 @@ namespace Jellyfin.Api.Tests.Authpublic CustomAuthenticationHandlerTests(){- _fixture = new Fixture().Customize(new AutoMoqCustomization {ConfigureMembers = true});+ var fixtureCustomizations = new AutoMoqCustomization+ {+ ConfigureMembers = true+ };++ _fixture = new Fixture().Customize(fixtureCustomizations);AllowFixtureCircularDependencies();_authServiceMock = _fixture.Freeze<Mock<IAuthService>>();@@ -143,7 +148,7 @@ namespace Jellyfin.Api.Tests.AuthAssert.Equal(_scheme.Name, authenticatedResult.Ticket.AuthenticationScheme);}- private User SetupUser(bool isAdmin=false)+ private User SetupUser(bool isAdmin = false){var user = _fixture.Create<User>();user.Policy.IsAdministrator = isAdmin;diff --git a/tests/Jellyfin.Api.Tests/Jellyfin.Api.Tests.csproj b/tests/Jellyfin.Api.Tests/Jellyfin.Api.Tests.csprojindex 77c58040e4..208a7bb30d 100644--- a/tests/Jellyfin.Api.Tests/Jellyfin.Api.Tests.csproj+++ b/tests/Jellyfin.Api.Tests/Jellyfin.Api.Tests.csproj@@ -19,7 +19,7 @@<ItemGroup><ProjectReference Include="../../MediaBrowser.Api/MediaBrowser.Api.csproj" />- <ProjectReference Include="..\..\Jellyfin.Api\Jellyfin.Api.csproj" />+ <ProjectReference Include="../../Jellyfin.Api/Jellyfin.Api.csproj" /></ItemGroup><ItemGroup>