Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/8267be0a488de365d527c1c472f3dd3996988c40 You should set ROOT_URL correctly, otherwise the web may not work correctly.

Added another test for IsUpgrade.

pull/7/merge
Mark McDowall 13 years ago
parent 197979ea3c
commit 8267be0a48

@ -123,5 +123,18 @@ namespace NzbDrone.Core.Test.ProviderTests.InventoryProviderTests
//Assert
result.Should().BeTrue();
}
[Test]
public void IsUpgrade_should_return_false_if_new_equals_current_but_current_is_proper_even_if_cutoff_is_met()
{
var currentQuality = new Quality(QualityTypes.SDTV, true);
var newQuality = new Quality(QualityTypes.SDTV, false);
var cutoff = QualityTypes.SDTV;
var result = InventoryProvider.IsUpgrade(currentQuality, newQuality, cutoff);
//Assert
result.Should().BeFalse();
}
}
}
Loading…
Cancel
Save