mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
Fixed a couple tests, so they shouldn't fail due to other tests impacting them.
This commit is contained in:
parent
714bcee5cb
commit
f78c5f2124
2 changed files with 13 additions and 7 deletions
|
@ -19,7 +19,9 @@ namespace NzbDrone.Core.Test
|
|||
//Reset config file
|
||||
var mocker = new AutoMoqer();
|
||||
var configFile = mocker.Resolve<ConfigFileProvider>().ConfigFile;
|
||||
File.Delete(configFile);
|
||||
|
||||
if (File.Exists(configFile))
|
||||
File.Delete(configFile);
|
||||
|
||||
mocker.Resolve<ConfigFileProvider>().CreateDefaultConfigFile();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue