Fix ReleasePushControllerFixture

This commit is contained in:
soup 2025-10-11 20:16:41 +02:00
parent b197a2d9cb
commit 80bdb7b258
No known key found for this signature in database

View file

@ -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);
}