test: Fix configuration finder test

pull/76/head
Robert Dailey 3 years ago
parent d06059f99e
commit ef9430424b

@ -21,7 +21,6 @@ public class ConfigurationFinderTest
ConfigurationFinder sut)
{
paths.DefaultConfigFilename.Returns("recyclarr.yml");
paths.ConfigPath.Returns(@"app\data");
appContext.BaseDirectory.Returns(@"base\path");
fs.AddFile(@"base\path\recyclarr.yml", new MockFileData(""));
@ -38,7 +37,6 @@ public class ConfigurationFinderTest
ConfigurationFinder sut)
{
paths.ConfigPath.Returns(@"app\data\recyclarr.yml");
appContext.BaseDirectory.Returns(@"base\path");
var path = sut.FindConfigPath();
@ -53,9 +51,7 @@ public class ConfigurationFinderTest
ConfigurationFinder sut)
{
paths.DefaultConfigFilename.Returns("recyclarr.yml");
paths.ConfigPath.Returns(@"app\data");
appContext.BaseDirectory.Returns(@"base\path");
fs.AddFile(@"base\path\recyclarr.yml", new MockFileData(""));
fs.AddFile(@"app\data\recyclarr.yml", new MockFileData(""));

Loading…
Cancel
Save