mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
simplified quality fixed some broken tests
This commit is contained in:
@@ -29,10 +29,10 @@ namespace NzbDrone.Core.Test
|
||||
|
||||
//Act
|
||||
var id = (int)repo.Add(testProfile);
|
||||
var fetch = repo.Single<QualityProfile>(c => c.Id == id);
|
||||
var fetch = repo.Single<QualityProfile>(c => c.ProfileId == id);
|
||||
|
||||
//Assert
|
||||
Assert.AreEqual(id, fetch.Id);
|
||||
Assert.AreEqual(id, fetch.ProfileId);
|
||||
Assert.AreEqual(testProfile.Cutoff, fetch.Cutoff);
|
||||
Assert.AreEqual(testProfile.Allowed, fetch.Allowed);
|
||||
}
|
||||
|
Reference in New Issue
Block a user