mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 14:08:44 -04:00
PR style comments
This commit is contained in:
parent
f47c7959af
commit
8c4e679ff4
2 changed files with 8 additions and 3 deletions
|
@ -36,7 +36,12 @@ namespace Jellyfin.Api.Tests.Auth
|
|||
|
||||
public 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.Auth
|
|||
Assert.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;
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue