diff --git a/src/NzbDrone.Core.Test/NotificationTests/GotifyTests/GotifyServiceFixture.cs b/src/NzbDrone.Core.Test/NotificationTests/GotifyTests/GotifyServiceFixture.cs index 9a2766bf26..d1de668fd7 100644 --- a/src/NzbDrone.Core.Test/NotificationTests/GotifyTests/GotifyServiceFixture.cs +++ b/src/NzbDrone.Core.Test/NotificationTests/GotifyTests/GotifyServiceFixture.cs @@ -32,9 +32,9 @@ public void Setup() } [TestCase(false, "MyRadarr", false)] - [TestCase(true, "MyRadarr", true)] - [TestCase(true, "", false)] - [TestCase(true, " ", false)] + [TestCase(true, "MyRadarr", true)] + [TestCase(true, "", false)] + [TestCase(true, " ", false)] public void OnDownload_should_append_instance_name_to_title_only_when_enabled_and_non_empty(bool includeInstanceNameInTitle, string instanceName, bool shouldAppendInstanceName) { ((GotifySettings)Subject.Definition.Settings).IncludeInstanceNameInTitle = includeInstanceNameInTitle; diff --git a/src/NzbDrone.Core/Notifications/Gotify/Gotify.cs b/src/NzbDrone.Core/Notifications/Gotify/Gotify.cs index 6d8d6073f4..37250eb86d 100644 --- a/src/NzbDrone.Core/Notifications/Gotify/Gotify.cs +++ b/src/NzbDrone.Core/Notifications/Gotify/Gotify.cs @@ -18,15 +18,15 @@ public class Gotify : NotificationBase private readonly IGotifyProxy _proxy; private readonly ILocalizationService _localizationService; - private readonly Logger _logger; private readonly IConfigFileProvider _configFileProvider; + private readonly Logger _logger; - public Gotify(IGotifyProxy proxy, ILocalizationService localizationService, Logger logger, IConfigFileProvider configFileProvider) + public Gotify(IGotifyProxy proxy, ILocalizationService localizationService, IConfigFileProvider configFileProvider, Logger logger) { _proxy = proxy; _localizationService = localizationService; - _logger = logger; _configFileProvider = configFileProvider; + _logger = logger; } public override string Name => "Gotify";