mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -07:00
Starting to add ALTER COLUMN to SQLite.
This commit is contained in:
parent
50ee2ee357
commit
1c5a74df98
6 changed files with 151 additions and 4 deletions
|
@ -97,7 +97,7 @@ namespace NzbDrone.Core.Test.Framework
|
|||
|
||||
var factory = new DbFactory(new MigrationController(new MigrationLogger(TestLogger)), Mocker.GetMock<IAppDirectoryInfo>().Object);
|
||||
_database = factory.Create(MigrationType);
|
||||
_db = new TestTestDatabase(_database);
|
||||
_db = new TestDatabase(_database);
|
||||
Mocker.SetConstant(_database);
|
||||
}
|
||||
|
||||
|
@ -140,12 +140,12 @@ namespace NzbDrone.Core.Test.Framework
|
|||
void Delete<T>(T childModel) where T : ModelBase, new();
|
||||
}
|
||||
|
||||
public class TestTestDatabase : ITestDatabase
|
||||
public class TestDatabase : ITestDatabase
|
||||
{
|
||||
private readonly IDatabase _dbConnection;
|
||||
private IMessageAggregator _messageAggregator;
|
||||
|
||||
public TestTestDatabase(IDatabase dbConnection)
|
||||
public TestDatabase(IDatabase dbConnection)
|
||||
{
|
||||
_messageAggregator = new Mock<IMessageAggregator>().Object;
|
||||
_dbConnection = dbConnection;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue