mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
linux fixes
This commit is contained in:
parent
24daa52e86
commit
0d6d9a7021
3 changed files with 18 additions and 8 deletions
|
@ -140,9 +140,19 @@ namespace NzbDrone.Test.Common
|
|||
|
||||
protected string GetTestFilePath(string fileName)
|
||||
{
|
||||
return Path.Combine(Directory.GetCurrentDirectory(), "Files", fileName);
|
||||
return Path.Combine(SandboxFolder, fileName);
|
||||
}
|
||||
|
||||
protected string SandboxFolder
|
||||
{
|
||||
get
|
||||
{
|
||||
var folder = Path.Combine(Directory.GetCurrentDirectory(), "Files");
|
||||
Directory.CreateDirectory(folder);
|
||||
return folder;
|
||||
}
|
||||
|
||||
}
|
||||
protected void VerifyEventPublished<TEvent>() where TEvent : class, IEvent
|
||||
{
|
||||
VerifyEventPublished<TEvent>(Times.Once());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue