mirror of
https://github.com/Sonarr/Sonarr
synced 2026-05-08 21:21:47 +02:00
Fix ReleasePushControllerFixture
This commit is contained in:
parent
b197a2d9cb
commit
80bdb7b258
1 changed files with 2 additions and 1 deletions
|
|
@ -7,6 +7,7 @@
|
|||
using NUnit.Framework;
|
||||
using NzbDrone.Core.Datastore;
|
||||
using NzbDrone.Core.Download;
|
||||
using NzbDrone.Core.Indexers;
|
||||
using NzbDrone.Core.Profiles.Qualities;
|
||||
using NzbDrone.Core.Qualities;
|
||||
using NzbDrone.Test.Common;
|
||||
|
|
@ -35,7 +36,7 @@ public void SetupController()
|
|||
Mocker.SetConstant(LogManager.GetLogger(nameof(ReleasePushControllerFixture)));
|
||||
|
||||
Mocker.GetMock<IQualityProfileService>()
|
||||
.Setup(x => x.GetDefaultProfile(It.IsAny<string>()))
|
||||
.Setup(x => x.GetDefaultProfile(It.IsAny<string>(), It.IsAny<Quality>(), It.IsAny<Quality[]>()))
|
||||
.Returns(qualityProfile);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue