mirror of
https://github.com/Radarr/Radarr
synced 2025-02-07 15:23:48 +00:00
updated elq test db path.
This commit is contained in:
parent
dfb02884a0
commit
4e1f6b8cc4
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
using NzbDrone.Common;
|
using NzbDrone.Common;
|
||||||
|
@ -55,7 +56,7 @@ protected void WithObjectDb(bool memory = true)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_db = new EloqueraDbFactory(new EnvironmentProvider()).Create();
|
_db = new EloqueraDbFactory(new EnvironmentProvider()).Create(Path.Combine(Environment.CurrentDirectory,Guid.NewGuid().ToString()+ ".elq");
|
||||||
}
|
}
|
||||||
|
|
||||||
Mocker.SetConstant(Db);
|
Mocker.SetConstant(Db);
|
||||||
|
|
Loading…
Reference in a new issue