mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02: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