auto increment ID.
model tables are automatically created.
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
<AllowDynamicCodeContractChecking>true</AllowDynamicCodeContractChecking>
|
||||
<AllowStaticCodeContractChecking>false</AllowStaticCodeContractChecking>
|
||||
<IgnoreThisComponentCompletely>false</IgnoreThisComponentCompletely>
|
||||
<RunPreBuildEvents>false</RunPreBuildEvents>
|
||||
<RunPostBuildEvents>false</RunPostBuildEvents>
|
||||
<RunPreBuildEvents>true</RunPreBuildEvents>
|
||||
<RunPostBuildEvents>true</RunPostBuildEvents>
|
||||
<PreviouslyBuiltSuccessfully>true</PreviouslyBuiltSuccessfully>
|
||||
<InstrumentAssembly>true</InstrumentAssembly>
|
||||
<PreventSigningOfAssembly>false</PreventSigningOfAssembly>
|
||||
|
||||
Reference in New Issue
Block a user