From 2f2d55bcf4a631b1aba6983593c5bac1afd86909 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sun, 18 Aug 2019 00:28:56 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E4=BF=AE=E6=AD=A3=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 #Comment commit commit:52ebcb4dcff085512ef26a51084925f3018685d1 --- UnitTest/Bootstrap.Admin/Controllers/SQLServer/AccountTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UnitTest/Bootstrap.Admin/Controllers/SQLServer/AccountTest.cs b/UnitTest/Bootstrap.Admin/Controllers/SQLServer/AccountTest.cs index c421ff16..77b37437 100644 --- a/UnitTest/Bootstrap.Admin/Controllers/SQLServer/AccountTest.cs +++ b/UnitTest/Bootstrap.Admin/Controllers/SQLServer/AccountTest.cs @@ -34,7 +34,7 @@ namespace Bootstrap.Admin.Controllers.SqlServer var r = await client.GetAsync("/Account/Login"); Assert.True(r.IsSuccessStatusCode); var content = await r.Content.ReadAsStringAsync(); - Assert.Contains("登 陆", content); + Assert.Contains("登 录", content); r = await client.GetAsync("/Account/Login"); var view = await r.Content.ReadAsStringAsync(); @@ -70,7 +70,7 @@ namespace Bootstrap.Admin.Controllers.SqlServer var r = await client.GetAsync("/Account/Logout"); Assert.True(r.IsSuccessStatusCode); var content = await r.Content.ReadAsStringAsync(); - Assert.Contains("登 陆", content); + Assert.Contains("登 录", content); } [Fact]