mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
Fixed multi testcase tests.
This commit is contained in:
parent
87079dcb52
commit
c5c7e1eb76
8 changed files with 29 additions and 37 deletions
|
@ -31,11 +31,11 @@ namespace NzbDrone.Core.Providers
|
|||
return _repository.All<RootDir>().ToList();
|
||||
}
|
||||
|
||||
public virtual void Add(RootDir rootDir)
|
||||
public virtual int Add(RootDir rootDir)
|
||||
{
|
||||
ValidatePath(rootDir);
|
||||
|
||||
_repository.Add(rootDir);
|
||||
return (int)_repository.Add(rootDir);
|
||||
}
|
||||
|
||||
public virtual void Remove(int rootDirId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue