mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-13 16:43:58 -07:00
fixed sqlite3.dll copying issues.
This commit is contained in:
parent
b04fb32f77
commit
192ace5004
11 changed files with 32 additions and 44 deletions
|
@ -75,9 +75,10 @@ namespace NzbDrone.Core.Test.Framework
|
|||
|
||||
private void WithObjectDb(bool memory = true)
|
||||
{
|
||||
var factory = new DbFactory(new EnvironmentProvider());
|
||||
_db = new TestDatabase(factory.Create());
|
||||
Mocker.SetConstant(Db);
|
||||
var factory = new DbFactory();
|
||||
var dbConnection = factory.Create();
|
||||
_db = new TestDatabase(dbConnection);
|
||||
Mocker.SetConstant(dbConnection);
|
||||
}
|
||||
|
||||
[SetUp]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue