minor fixes to wtf-gtfo

pull/2/head
Keivan Beigi 10 years ago
parent aa68faaf88
commit 380d2624f1

@ -27,7 +27,7 @@ namespace NzbDrone.Core.Test.UpdateTests
public void should_get_master_if_branch_doesnt_exit() public void should_get_master_if_branch_doesnt_exit()
{ {
UseRealHttp(); UseRealHttp();
Subject.GetLatestUpdate("master2", new Version(2, 0)).Should().NotBeNull(); Subject.GetLatestUpdate("invalid_branch", new Version(2, 0)).Should().NotBeNull();
} }

@ -52,7 +52,7 @@ namespace NzbDrone.Core.Update
} }
catch (Exception e) catch (Exception e)
{ {
_logger.ErrorException("couldn't revert back to master.", e); _logger.ErrorException("Couldn't revert back to master.", e);
} }
} }

Loading…
Cancel
Save