Fix QualityModelComparer test when respecting group order

This commit is contained in:
Mark McDowall 2019-02-07 09:25:24 -08:00
parent 00ca91399a
commit 8ea24a6b09
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@ namespace NzbDrone.Core.Qualities
public int Compare(Quality left, Quality right, bool respectGroupOrder)
{
var leftIndex = _profile.GetIndex(left);
var rightIndex = _profile.GetIndex(right);
var leftIndex = _profile.GetIndex(left, respectGroupOrder);
var rightIndex = _profile.GetIndex(right, respectGroupOrder);
return leftIndex.CompareTo(rightIndex, respectGroupOrder);
}