From b7fd35cadc144bca529c1552bdaf0cb0cf28099f Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sat, 31 Aug 2019 23:12:45 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E4=BF=AE=E5=A4=8D=E5=8D=95=E5=85=83?= =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Bootstrap.Client.DataAccess.csproj | 2 +- Bootstrap.DataAccess/Bootstrap.DataAccess.csproj | 2 +- UnitTest/BAWebHost.cs | 3 ++- UnitTest/appsettings.json | 8 ++++---- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Bootstrap.Client.DataAccess/Bootstrap.Client.DataAccess.csproj b/Bootstrap.Client.DataAccess/Bootstrap.Client.DataAccess.csproj index 6bed0277..e77e1a5d 100644 --- a/Bootstrap.Client.DataAccess/Bootstrap.Client.DataAccess.csproj +++ b/Bootstrap.Client.DataAccess/Bootstrap.Client.DataAccess.csproj @@ -5,7 +5,7 @@ - + diff --git a/Bootstrap.DataAccess/Bootstrap.DataAccess.csproj b/Bootstrap.DataAccess/Bootstrap.DataAccess.csproj index 56c70700..fc09c352 100644 --- a/Bootstrap.DataAccess/Bootstrap.DataAccess.csproj +++ b/Bootstrap.DataAccess/Bootstrap.DataAccess.csproj @@ -6,7 +6,7 @@ - + diff --git a/UnitTest/BAWebHost.cs b/UnitTest/BAWebHost.cs index d77af616..6dff0493 100644 --- a/UnitTest/BAWebHost.cs +++ b/UnitTest/BAWebHost.cs @@ -67,7 +67,8 @@ namespace Bootstrap.Admin new KeyValuePair("DB:0:Enabled", "false"), new KeyValuePair("DB:1:Enabled", "false"), new KeyValuePair("DB:2:Enabled", "false"), - new KeyValuePair("DB:3:Enabled", "false") + new KeyValuePair("DB:3:Enabled", "false"), + new KeyValuePair("DB:4:Enabled", "true") })); } } diff --git a/UnitTest/appsettings.json b/UnitTest/appsettings.json index f243c9f5..32dc8f56 100644 --- a/UnitTest/appsettings.json +++ b/UnitTest/appsettings.json @@ -16,28 +16,28 @@ "Enabled": true }, { - "Enabled": true, + "Enabled": false, "ProviderName": "Sqlite", "ConnectionStrings": { "ba": "Data Source=UnitTest.db;" } }, { - "Enabled": true, + "Enabled": false, "ProviderName": "MySql", "ConnectionStrings": { "ba": "Server=localhost;Database=UnitTest;Uid=argozhang;Pwd=argo@163.com;SslMode=none;" } }, { - "Enabled": true, + "Enabled": false, "ProviderName": "Npgsql", "ConnectionStrings": { "ba": "Server=localhost;Database=UnitTest;User ID=argozhang;Password=argo@163.com;" } }, { - "Enabled": true, + "Enabled": false, "Widget": "Bootstrap.DataAccess.MongoDB", "ConnectionStrings": { "ba": "mongodb://localhost:27017/UnitTest"