Fixed null config test
This commit is contained in:
parent
99d9303394
commit
446d470f53
|
@ -9,6 +9,9 @@ namespace NzbDrone.Core.Validation
|
||||||
{
|
{
|
||||||
public NzbDroneValidationResult()
|
public NzbDroneValidationResult()
|
||||||
{
|
{
|
||||||
|
Failures = new List<NzbDroneValidationFailure>();
|
||||||
|
Errors = new List<NzbDroneValidationFailure>();
|
||||||
|
Warnings = new List<NzbDroneValidationFailure>();
|
||||||
}
|
}
|
||||||
|
|
||||||
public NzbDroneValidationResult(ValidationResult validationResult)
|
public NzbDroneValidationResult(ValidationResult validationResult)
|
||||||
|
@ -45,9 +48,7 @@ namespace NzbDrone.Core.Validation
|
||||||
}
|
}
|
||||||
|
|
||||||
public IList<NzbDroneValidationFailure> Failures { get; private set; }
|
public IList<NzbDroneValidationFailure> Failures { get; private set; }
|
||||||
|
|
||||||
public new IList<NzbDroneValidationFailure> Errors { get; private set; }
|
public new IList<NzbDroneValidationFailure> Errors { get; private set; }
|
||||||
|
|
||||||
public IList<NzbDroneValidationFailure> Warnings { get; private set; }
|
public IList<NzbDroneValidationFailure> Warnings { get; private set; }
|
||||||
|
|
||||||
public virtual bool HasWarnings
|
public virtual bool HasWarnings
|
||||||
|
|
Loading…
Reference in New Issue