mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
Fixed auth tests
This commit is contained in:
parent
34e35bd00b
commit
f5a68782ce
3 changed files with 9 additions and 15 deletions
|
@ -127,25 +127,19 @@ namespace NzbDrone.Common.Test
|
|||
[Test]
|
||||
public void GetAuthenticationType_No_Existing_Value()
|
||||
{
|
||||
|
||||
|
||||
var result = Subject.AuthenticationType;
|
||||
|
||||
|
||||
result.Should().Be(AuthenticationType.Anonymous);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void GetAuthenticationType_Windows()
|
||||
public void GetAuthenticationType_Basic()
|
||||
{
|
||||
|
||||
Subject.SetValue("AuthenticationType", 1);
|
||||
|
||||
|
||||
Subject.SetValue("AuthenticationType", AuthenticationType.Basic);
|
||||
|
||||
var result = Subject.AuthenticationType;
|
||||
|
||||
|
||||
result.Should().Be(AuthenticationType.Windows);
|
||||
|
||||
result.Should().Be(AuthenticationType.Basic);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue