test: 修正单元测试

#Comment
commit commit:52ebcb4dcff085512ef26a51084925f3018685d1
This commit is contained in:
Argo Zhang 2019-08-18 00:28:56 +08:00
parent 34b4c45792
commit 2f2d55bcf4
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
1 changed files with 2 additions and 2 deletions

View File

@ -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]