test: 修复单元测试
This commit is contained in:
parent
9a9d3d0ba1
commit
b7fd35cadc
|
@ -5,7 +5,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Longbow.Data" Version="2.3.5" />
|
<PackageReference Include="Longbow.Data" Version="2.3.6" />
|
||||||
<PackageReference Include="Longbow.Logging" Version="2.2.12" />
|
<PackageReference Include="Longbow.Logging" Version="2.2.12" />
|
||||||
<PackageReference Include="Bootstrap.Security.Mvc" Version="2.2.13" />
|
<PackageReference Include="Bootstrap.Security.Mvc" Version="2.2.13" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Bootstrap.Security.DataAccess" Version="2.2.12" />
|
<PackageReference Include="Bootstrap.Security.DataAccess" Version="2.2.12" />
|
||||||
<PackageReference Include="Longbow.Data" Version="2.3.5" />
|
<PackageReference Include="Longbow.Data" Version="2.3.6" />
|
||||||
<PackageReference Include="Longbow.Logging" Version="2.2.12" />
|
<PackageReference Include="Longbow.Logging" Version="2.2.12" />
|
||||||
<PackageReference Include="Longbow.PetaPoco" Version="1.0.2" />
|
<PackageReference Include="Longbow.PetaPoco" Version="1.0.2" />
|
||||||
<PackageReference Include="Longbow.Security.Cryptography" Version="1.3.0" />
|
<PackageReference Include="Longbow.Security.Cryptography" Version="1.3.0" />
|
||||||
|
|
|
@ -67,7 +67,8 @@ namespace Bootstrap.Admin
|
||||||
new KeyValuePair<string, string>("DB:0:Enabled", "false"),
|
new KeyValuePair<string, string>("DB:0:Enabled", "false"),
|
||||||
new KeyValuePair<string, string>("DB:1:Enabled", "false"),
|
new KeyValuePair<string, string>("DB:1:Enabled", "false"),
|
||||||
new KeyValuePair<string, string>("DB:2:Enabled", "false"),
|
new KeyValuePair<string, string>("DB:2:Enabled", "false"),
|
||||||
new KeyValuePair<string, string>("DB:3:Enabled", "false")
|
new KeyValuePair<string, string>("DB:3:Enabled", "false"),
|
||||||
|
new KeyValuePair<string, string>("DB:4:Enabled", "true")
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,28 +16,28 @@
|
||||||
"Enabled": true
|
"Enabled": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Enabled": true,
|
"Enabled": false,
|
||||||
"ProviderName": "Sqlite",
|
"ProviderName": "Sqlite",
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
"ba": "Data Source=UnitTest.db;"
|
"ba": "Data Source=UnitTest.db;"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Enabled": true,
|
"Enabled": false,
|
||||||
"ProviderName": "MySql",
|
"ProviderName": "MySql",
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
"ba": "Server=localhost;Database=UnitTest;Uid=argozhang;Pwd=argo@163.com;SslMode=none;"
|
"ba": "Server=localhost;Database=UnitTest;Uid=argozhang;Pwd=argo@163.com;SslMode=none;"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Enabled": true,
|
"Enabled": false,
|
||||||
"ProviderName": "Npgsql",
|
"ProviderName": "Npgsql",
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
"ba": "Server=localhost;Database=UnitTest;User ID=argozhang;Password=argo@163.com;"
|
"ba": "Server=localhost;Database=UnitTest;User ID=argozhang;Password=argo@163.com;"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Enabled": true,
|
"Enabled": false,
|
||||||
"Widget": "Bootstrap.DataAccess.MongoDB",
|
"Widget": "Bootstrap.DataAccess.MongoDB",
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
"ba": "mongodb://localhost:27017/UnitTest"
|
"ba": "mongodb://localhost:27017/UnitTest"
|
||||||
|
|
Loading…
Reference in New Issue