mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-04-23 22:07:07 -04:00
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:
parent
d894035922
commit
8e39b80a25
1 changed files with 0 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue