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