diff --git a/src/NzbDrone.Core/Jobs/TaskManager.cs b/src/NzbDrone.Core/Jobs/TaskManager.cs index f4b081b30..c6cff60ad 100644 --- a/src/NzbDrone.Core/Jobs/TaskManager.cs +++ b/src/NzbDrone.Core/Jobs/TaskManager.cs @@ -72,7 +72,7 @@ namespace NzbDrone.Core.Jobs new ScheduledTask { Interval = 6 * 60, - TypeName = typeof(ApplicationCheckUpdateCommand).FullName + TypeName = typeof(ApplicationUpdateCheckCommand).FullName }, new ScheduledTask diff --git a/src/NzbDrone.Core/Update/Commands/ApplicationCheckUpdateCommand.cs b/src/NzbDrone.Core/Update/Commands/ApplicationUpdateCheckCommand.cs similarity index 78% rename from src/NzbDrone.Core/Update/Commands/ApplicationCheckUpdateCommand.cs rename to src/NzbDrone.Core/Update/Commands/ApplicationUpdateCheckCommand.cs index 6987af3fa..ece18a111 100644 --- a/src/NzbDrone.Core/Update/Commands/ApplicationCheckUpdateCommand.cs +++ b/src/NzbDrone.Core/Update/Commands/ApplicationUpdateCheckCommand.cs @@ -2,7 +2,7 @@ using NzbDrone.Core.Messaging.Commands; namespace NzbDrone.Core.Update.Commands { - public class ApplicationCheckUpdateCommand : Command + public class ApplicationUpdateCheckCommand : Command { public override bool SendUpdatesToClient => true; diff --git a/src/NzbDrone.Core/Update/InstallUpdateService.cs b/src/NzbDrone.Core/Update/InstallUpdateService.cs index d86e4abc0..d02cd3803 100644 --- a/src/NzbDrone.Core/Update/InstallUpdateService.cs +++ b/src/NzbDrone.Core/Update/InstallUpdateService.cs @@ -20,7 +20,7 @@ using NzbDrone.Core.Update.Commands; namespace NzbDrone.Core.Update { - public class InstallUpdateService : IExecute, IExecute, IHandle + public class InstallUpdateService : IExecute, IExecute, IHandle { private readonly ICheckUpdateService _checkUpdateService; private readonly Logger _logger; @@ -270,7 +270,7 @@ namespace NzbDrone.Core.Update return latestAvailable; } - public void Execute(ApplicationCheckUpdateCommand message) + public void Execute(ApplicationUpdateCheckCommand message) { if (GetUpdatePackage(message.Trigger) != null) { diff --git a/src/NzbDrone.Integration.Test/ApiTests/CommandFixture.cs b/src/NzbDrone.Integration.Test/ApiTests/CommandFixture.cs index 91d0962ab..f8a8ccd51 100644 --- a/src/NzbDrone.Integration.Test/ApiTests/CommandFixture.cs +++ b/src/NzbDrone.Integration.Test/ApiTests/CommandFixture.cs @@ -10,7 +10,7 @@ namespace NzbDrone.Integration.Test.ApiTests [Test] public void should_be_able_to_run_update_check() { - var response = Commands.Post(new SimpleCommandResource { Name = "applicationcheckupdate" }); + var response = Commands.Post(new SimpleCommandResource { Name = "applicationupdatecheck" }); response.Id.Should().NotBe(0); }