Fixed null config test

This commit is contained in:
Mark McDowall 2015-03-16 21:37:33 -07:00
parent 99d9303394
commit 446d470f53
1 changed files with 3 additions and 2 deletions

View File

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