mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
auto increment ID.
model tables are automatically created.
This commit is contained in:
parent
aeebae33fd
commit
7603d8e1ba
8 changed files with 35 additions and 6 deletions
|
@ -16,7 +16,7 @@ namespace NzbDrone.Core.Test.Configuration
|
|||
public void Setup()
|
||||
{
|
||||
Mocker.GetMock<IConfigRepository>().Setup(c => c.All())
|
||||
.Returns(new List<Config> { new Config { Key = "Key1", Value = "Value1" } });
|
||||
.Returns(new List<Config> { new Config { Key = "key1", Value = "Value1" } });
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -150,7 +150,7 @@ namespace NzbDrone.Core.Test.Configuration
|
|||
|
||||
if (propertyInfo.PropertyType == typeof(string))
|
||||
{
|
||||
value = new Guid().ToString();
|
||||
value = Guid.NewGuid().ToString();
|
||||
}
|
||||
else if (propertyInfo.PropertyType == typeof(int))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue