Remove redundant comments from HistorySpecificationFixture

Simplified the code by removing unnecessary comments that added no value. This improves readability and maintains cleaner and more maintainable code.
This commit is contained in:
skydel0 2025-03-22 09:03:48 +01:00
parent d894035922
commit 8e39b80a25

View file

@ -62,7 +62,6 @@ namespace NzbDrone.Core.Test.HistoryTests
private void SetupHistoryServiceMock(List<EpisodeHistory> history)
{
// Setup mock for IHistoryService
Mocker.GetMock<IHistoryService>()
.Setup(s => s.FindByEpisodeId(It.IsAny<int>()))
.Returns(history);
@ -70,7 +69,6 @@ namespace NzbDrone.Core.Test.HistoryTests
private void SetupCdh(bool cdhEnabled)
{
// Setup mock for IHistoryService
Mocker.GetMock<IConfigService>()
.Setup(s => s.EnableCompletedDownloadHandling)
.Returns(cdhEnabled);
@ -191,7 +189,6 @@ namespace NzbDrone.Core.Test.HistoryTests
// Arrange
var betterQuality = new QualityModel(Quality.Bluray1080p);
var history = GivenFileHistory(DateTime.UtcNow.AddHours(-1), betterQuality, EpisodeHistoryEventType.Grabbed);
var newQuality = new QualityModel(Quality.Bluray1080p);
var remoteEpisode = MockUpOrDownGrade(3000, 8000, newQuality, Quality.Bluray1080p.Id);
SetupHistoryServiceMock(history);