mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-28 04:51:45 +02:00
linux fixes
This commit is contained in:
@@ -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());
|
||||
|
Reference in New Issue
Block a user