Cleaned up environment detection

This commit is contained in:
Keivan Beigi
2014-12-07 12:54:07 -08:00
parent cf77104a02
commit f4c202441c
35 changed files with 112 additions and 95 deletions

View File

@@ -73,7 +73,7 @@ namespace NzbDrone.Core.Test.UpdateTests
.Returns(path);
Mocker.GetMock<IDiskProvider>()
.Setup(s => s.FileExists(path, true))
.Setup(s => s.FileExists(path, StringComparison.Ordinal))
.Returns(true);
}
@@ -208,7 +208,7 @@ namespace NzbDrone.Core.Test.UpdateTests
GivenInstallScript(scriptPath);
Mocker.GetMock<IDiskProvider>()
.Setup(s => s.FileExists(scriptPath, true))
.Setup(s => s.FileExists(scriptPath, StringComparison.Ordinal))
.Returns(false);
Subject.Execute(new ApplicationUpdateCommand());