From 380d2624f1bacd020e7aadf14a62b182425853d6 Mon Sep 17 00:00:00 2001 From: Keivan Beigi Date: Tue, 28 Oct 2014 17:08:07 -0700 Subject: [PATCH] minor fixes to wtf-gtfo --- .../UpdateTests/UpdatePackageProviderFixture.cs | 2 +- src/NzbDrone.Core/Update/UpdateCheckService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core.Test/UpdateTests/UpdatePackageProviderFixture.cs b/src/NzbDrone.Core.Test/UpdateTests/UpdatePackageProviderFixture.cs index fc192a08a..ec45587b9 100644 --- a/src/NzbDrone.Core.Test/UpdateTests/UpdatePackageProviderFixture.cs +++ b/src/NzbDrone.Core.Test/UpdateTests/UpdatePackageProviderFixture.cs @@ -27,7 +27,7 @@ public void finds_update_when_version_lower() public void should_get_master_if_branch_doesnt_exit() { UseRealHttp(); - Subject.GetLatestUpdate("master2", new Version(2, 0)).Should().NotBeNull(); + Subject.GetLatestUpdate("invalid_branch", new Version(2, 0)).Should().NotBeNull(); } diff --git a/src/NzbDrone.Core/Update/UpdateCheckService.cs b/src/NzbDrone.Core/Update/UpdateCheckService.cs index b0be673bb..217b04b70 100644 --- a/src/NzbDrone.Core/Update/UpdateCheckService.cs +++ b/src/NzbDrone.Core/Update/UpdateCheckService.cs @@ -52,7 +52,7 @@ public UpdatePackage AvailableUpdate() } catch (Exception e) { - _logger.ErrorException("couldn't revert back to master.", e); + _logger.ErrorException("Couldn't revert back to master.", e); } }