Fixed HealthCheckFixture test
This commit is contained in:
parent
0a30735f34
commit
92b9f46399
|
@ -11,7 +11,7 @@ namespace NzbDrone.Core.Test.HealthCheck
|
||||||
private const string WikiRoot = "https://wiki.servarr.com/";
|
private const string WikiRoot = "https://wiki.servarr.com/";
|
||||||
[TestCase("I blew up because of some weird user mistake", null, WikiRoot + "sonarr/system#i-blew-up-because-of-some-weird-user-mistake")]
|
[TestCase("I blew up because of some weird user mistake", null, WikiRoot + "sonarr/system#i-blew-up-because-of-some-weird-user-mistake")]
|
||||||
[TestCase("I blew up because of some weird user mistake", "#my-health-check", WikiRoot + "sonarr/system#my-health-check")]
|
[TestCase("I blew up because of some weird user mistake", "#my-health-check", WikiRoot + "sonarr/system#my-health-check")]
|
||||||
[TestCase("I blew up because of some weird user mistake", "custom_page#my-health-check", WikiRoot + "custom_page#my-health-check")]
|
[TestCase("I blew up because of some weird user mistake", "custom_page#my-health-check", WikiRoot + "sonarr/custom_page#my-health-check")]
|
||||||
public void should_format_wiki_url(string message, string wikiFragment, string expectedUrl)
|
public void should_format_wiki_url(string message, string wikiFragment, string expectedUrl)
|
||||||
{
|
{
|
||||||
var subject = new NzbDrone.Core.HealthCheck.HealthCheck(typeof(HealthCheckBase), HealthCheckResult.Warning, message, wikiFragment);
|
var subject = new NzbDrone.Core.HealthCheck.HealthCheck(typeof(HealthCheckBase), HealthCheckResult.Warning, message, wikiFragment);
|
||||||
|
|
Loading…
Reference in New Issue