From 4290fb65c97a6f3d04f2ddaf34541d8ecb8beafb Mon Sep 17 00:00:00 2001 From: Argo-Surface Date: Sun, 20 Jan 2019 11:45:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E5=85=83=E6=B5=8B=E8=AF=95=EF=BC=9A?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0MySQL=E6=95=B0=E6=8D=AE=E5=BA=93=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UnitTest/TestHelper.cs | 2 +- UnitTest/UnitTest.csproj | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/UnitTest/TestHelper.cs b/UnitTest/TestHelper.cs index 867f9b38..5875bdbf 100644 --- a/UnitTest/TestHelper.cs +++ b/UnitTest/TestHelper.cs @@ -59,7 +59,7 @@ namespace UnitTest private const string SqlConnectionStrings = "Data Source=.;Initial Catalog=UnitTest;User ID=sa;Password=sa"; private const string SQLiteConnectionStrings = "Data Source=UnitTest.db;"; - private const string MySqlConnectionStrings = "Server=.;Database=UnitTest;Uid=argozhang;Pwd=argo@163.com;SslMode=none;"; + private const string MySqlConnectionStrings = "Server=localhost;Database=UnitTest;Uid=argozhang;Pwd=argo@163.com;SslMode=none;"; public static void ConfigureWebHost(IWebHostBuilder builder) { diff --git a/UnitTest/UnitTest.csproj b/UnitTest/UnitTest.csproj index a27bc170..1b9f1238 100644 --- a/UnitTest/UnitTest.csproj +++ b/UnitTest/UnitTest.csproj @@ -10,6 +10,7 @@ + all