单元测试:更新AccountTest单元测试 link #ISHLV

#Commit
commit:99b8713
This commit is contained in:
Argo Zhang 2019-03-09 19:28:06 +08:00
parent a8a6e9df5c
commit 036c6de0e3
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ namespace Bootstrap.Admin.Controllers
var r = await Client.GetAsync("AccessDenied"); var r = await Client.GetAsync("AccessDenied");
Assert.True(r.IsSuccessStatusCode); Assert.True(r.IsSuccessStatusCode);
var content = await r.Content.ReadAsStringAsync(); var content = await r.Content.ReadAsStringAsync();
Assert.Contains("您无权访问本页面请联系网站管理员授权后再查看", content); Assert.Contains("服务器拒绝处理您的请求", content);
} }
} }
} }