mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Fixed bug in history check.
This commit is contained in:
parent
54d1d5e379
commit
4c8b1d9604
2 changed files with 5 additions and 3 deletions
|
@ -79,7 +79,8 @@ namespace NzbDrone.Core.Test
|
|||
|
||||
|
||||
var repo = MockLib.GetEmptyRepository();
|
||||
var history = Builder<History>.CreateNew().Build();
|
||||
var history = Builder<History>.CreateNew()
|
||||
.With(h => h.Quality = QualityTypes.Bluray720p).Build();
|
||||
repo.Add(history);
|
||||
mocker.SetConstant(repo);
|
||||
|
||||
|
@ -88,6 +89,7 @@ namespace NzbDrone.Core.Test
|
|||
|
||||
//Assert
|
||||
Assert.IsNotNull(result);
|
||||
result.QualityType.Should().Be(QualityTypes.Bluray720p);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue