From ed1935c85d340ea74fb72442120859677f8c406a Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Sat, 3 Jul 2021 18:23:51 -0500 Subject: [PATCH] fixup! Update wiki links --- .../DownloadClientRootFolderCheckFixture.cs | 2 +- .../Checks/RemotePathMappingCheckFixture.cs | 24 +++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/NzbDrone.Core.Test/HealthCheck/Checks/DownloadClientRootFolderCheckFixture.cs b/src/NzbDrone.Core.Test/HealthCheck/Checks/DownloadClientRootFolderCheckFixture.cs index efb3d43a8..24b697a17 100644 --- a/src/NzbDrone.Core.Test/HealthCheck/Checks/DownloadClientRootFolderCheckFixture.cs +++ b/src/NzbDrone.Core.Test/HealthCheck/Checks/DownloadClientRootFolderCheckFixture.cs @@ -73,7 +73,7 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks { GivenRootFolder(_downloadRootPath); - Subject.Check().ShouldBeWarning(wikiFragment: "downloads_in_root_folder"); + Subject.Check().ShouldBeWarning(wikiFragment: "downloads-in-root-folder"); } [Test] diff --git a/src/NzbDrone.Core.Test/HealthCheck/Checks/RemotePathMappingCheckFixture.cs b/src/NzbDrone.Core.Test/HealthCheck/Checks/RemotePathMappingCheckFixture.cs index 78752f219..d8f4df611 100644 --- a/src/NzbDrone.Core.Test/HealthCheck/Checks/RemotePathMappingCheckFixture.cs +++ b/src/NzbDrone.Core.Test/HealthCheck/Checks/RemotePathMappingCheckFixture.cs @@ -124,7 +124,7 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks [Test] public void should_return_permissions_error_if_local_client_download_root_missing() { - Subject.Check().ShouldBeError(wikiFragment: "permissions_error"); + Subject.Check().ShouldBeError(wikiFragment: "permissions-error"); } [Test] @@ -133,7 +133,7 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks _clientStatus.IsLocalhost = false; _clientStatus.OutputRootFolders = new List { new OsPath("An invalid path") }; - Subject.Check().ShouldBeError(wikiFragment: "bad_remote_path_mapping"); + Subject.Check().ShouldBeError(wikiFragment: "bad-remote-path-mapping"); } [Test] @@ -142,7 +142,7 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks _clientStatus.IsLocalhost = true; _clientStatus.OutputRootFolders = new List { new OsPath("An invalid path") }; - Subject.Check().ShouldBeError(wikiFragment: "bad_download_client_settings"); + Subject.Check().ShouldBeError(wikiFragment: "bad-download-client-settings"); } [Test] @@ -150,7 +150,7 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks { _clientStatus.IsLocalhost = false; - Subject.Check().ShouldBeError(wikiFragment: "bad_remote_path_mapping"); + Subject.Check().ShouldBeError(wikiFragment: "bad-remote-path-mapping"); } [Test] @@ -170,7 +170,7 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks { GivenDocker(); - Subject.Check().ShouldBeError(wikiFragment: "docker_bad_remote_path_mapping"); + Subject.Check().ShouldBeError(wikiFragment: "docker-bad-remote-path-mapping"); } [Test] @@ -193,7 +193,7 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks var importEvent = new TrackImportFailedEvent(new Exception(), localTrack, true, new DownloadClientItem { DownloadClientInfo = new DownloadClientItemClientInfo() }); - Subject.Check(importEvent).ShouldBeError(wikiFragment: "permissions_error"); + Subject.Check(importEvent).ShouldBeError(wikiFragment: "permissions-error"); } [Test] @@ -203,7 +203,7 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks var importEvent = new TrackImportFailedEvent(null, null, true, _downloadItem); - Subject.Check(importEvent).ShouldBeError(wikiFragment: "permissions_error"); + Subject.Check(importEvent).ShouldBeError(wikiFragment: "permissions-error"); } [Test] @@ -211,7 +211,7 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks { var importEvent = new TrackImportFailedEvent(null, null, true, _downloadItem); - Subject.Check(importEvent).ShouldBeError(wikiFragment: "permissions_error"); + Subject.Check(importEvent).ShouldBeError(wikiFragment: "permissions-error"); } [Test] @@ -220,7 +220,7 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks _clientStatus.IsLocalhost = false; var importEvent = new TrackImportFailedEvent(null, null, true, _downloadItem); - Subject.Check(importEvent).ShouldBeError(wikiFragment: "bad_remote_path_mapping"); + Subject.Check(importEvent).ShouldBeError(wikiFragment: "bad-remote-path-mapping"); } [Test] @@ -230,7 +230,7 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks _downloadItem.OutputPath = new OsPath("an invalid path"); var importEvent = new TrackImportFailedEvent(null, null, true, _downloadItem); - Subject.Check(importEvent).ShouldBeError(wikiFragment: "bad_remote_path_mapping"); + Subject.Check(importEvent).ShouldBeError(wikiFragment: "bad-remote-path-mapping"); } [Test] @@ -240,7 +240,7 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks _downloadItem.OutputPath = new OsPath("an invalid path"); var importEvent = new TrackImportFailedEvent(null, null, true, _downloadItem); - Subject.Check(importEvent).ShouldBeError(wikiFragment: "bad_download_client_settings"); + Subject.Check(importEvent).ShouldBeError(wikiFragment: "bad-download-client-settings"); } [Test] @@ -251,7 +251,7 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks _clientStatus.IsLocalhost = false; var importEvent = new TrackImportFailedEvent(null, null, true, _downloadItem); - Subject.Check(importEvent).ShouldBeError(wikiFragment: "docker_bad_remote_path_mapping"); + Subject.Check(importEvent).ShouldBeError(wikiFragment: "docker-bad-remote-path-mapping"); } [Test]