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.
pull/7718/head
skydel0 4 weeks ago
parent d894035922
commit 8e39b80a25

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

Loading…
Cancel
Save