mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed auth tests
This commit is contained in:
@@ -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]
|
||||
|
Reference in New Issue
Block a user