mirror of
https://github.com/Radarr/Radarr
synced 2026-05-07 20:51:27 +02:00
Fix: Remove unnecessary formatting and correct the import order.
This commit is contained in:
parent
ef0a158900
commit
20842cd37f
2 changed files with 6 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in a new issue