mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
fixed more tests.
This commit is contained in:
parent
48880e4964
commit
048162a0ef
45 changed files with 424 additions and 677 deletions
|
@ -117,7 +117,7 @@ namespace NzbDrone.Api.Series
|
|||
{
|
||||
RuleSet("POST", () =>
|
||||
{
|
||||
RuleFor(s => ((ModelBase)s).Id).GreaterThan(0);
|
||||
RuleFor(s => s.Id).GreaterThan(0);
|
||||
RuleFor(s => s.Path).NotEmpty().Must(_diskProvider.FolderExists);
|
||||
RuleFor(s => s.QualityProfileId).GreaterThan(0);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue