mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
fixed sqlite3.dll copying issues.
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user