mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
Cleaned up auth settings
This commit is contained in:
parent
e046d2c680
commit
0c5827fb41
11 changed files with 112 additions and 105 deletions
|
@ -128,19 +128,9 @@ namespace NzbDrone.Common.Test
|
|||
[Test]
|
||||
public void GetAuthenticationType_No_Existing_Value()
|
||||
{
|
||||
var result = Subject.AuthenticationType;
|
||||
var result = Subject.AuthenticationEnabled;
|
||||
|
||||
result.Should().Be(AuthenticationType.Anonymous);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void GetAuthenticationType_Basic()
|
||||
{
|
||||
Subject.SetValue("AuthenticationType", AuthenticationType.Basic);
|
||||
|
||||
var result = Subject.AuthenticationType;
|
||||
|
||||
result.Should().Be(AuthenticationType.Basic);
|
||||
result.Should().Be(false);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue