mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
app now starts up,
added monodevelop, siaodb files to git.ignore
This commit is contained in:
parent
a0d0e4715e
commit
63cf7a3b85
6 changed files with 21 additions and 23 deletions
|
@ -52,11 +52,11 @@ namespace NzbDrone.Core.Test.Framework
|
|||
{
|
||||
if (memory)
|
||||
{
|
||||
_db = new SiaqoDbFactory(new DiskProvider()).CreateMemoryDb();
|
||||
_db = new SiaqoDbFactory(new DiskProvider(),new EnvironmentProvider()).CreateMemoryDb();
|
||||
}
|
||||
else
|
||||
{
|
||||
_db = new SiaqoDbFactory(new DiskProvider()).Create(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, Guid.NewGuid().ToString()));
|
||||
_db = new SiaqoDbFactory(new DiskProvider(),new EnvironmentProvider()).Create(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, Guid.NewGuid().ToString()));
|
||||
}
|
||||
|
||||
Mocker.SetConstant(Db);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue