Cleaned up auth settings

This commit is contained in:
kay.one 2013-07-14 00:00:50 -07:00
parent e046d2c680
commit 0c5827fb41
11 changed files with 112 additions and 105 deletions

View file

@ -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]