单元测试:更新AccountTest单元测试 link #ISHLV
#Commit commit:99b8713
This commit is contained in:
parent
a8a6e9df5c
commit
036c6de0e3
|
@ -41,7 +41,7 @@ namespace Bootstrap.Admin.Controllers
|
|||
var r = await Client.GetAsync("AccessDenied");
|
||||
Assert.True(r.IsSuccessStatusCode);
|
||||
var content = await r.Content.ReadAsStringAsync();
|
||||
Assert.Contains("您无权访问本页面请联系网站管理员授权后再查看", content);
|
||||
Assert.Contains("服务器拒绝处理您的请求", content);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue