mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Fixed broken tests
This commit is contained in:
parent
92acb4c049
commit
41f70ce7ca
2 changed files with 62 additions and 27 deletions
|
@ -155,7 +155,7 @@ namespace NzbDrone.Core.Test
|
|||
|
||||
var db = TestDbHelper.GetEmptyDatabase();
|
||||
Mocker.SetConstant(db);
|
||||
var fakeProfile = Builder<QualityProfile>.CreateNew().Build();
|
||||
var fakeProfile = Builder<QualityProfile>.CreateNew().With(p => p.Cutoff = QualityTypes.DVD).With(p => p.Allowed = new List<QualityTypes> { QualityTypes.SDTV, QualityTypes.DVD }).Build();
|
||||
|
||||
//Act
|
||||
Mocker.Resolve<QualityProvider>().Add(fakeProfile);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue