Fix: Remove unnecessary formatting and correct the import order.

This commit is contained in:
Kalon Shannon-Innes 2025-12-19 13:00:53 +00:00
parent ef0a158900
commit 20842cd37f
2 changed files with 6 additions and 6 deletions

View file

@ -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;

View file

@ -18,15 +18,15 @@ public class Gotify : NotificationBase<GotifySettings>
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";