test: 修复单元测试

This commit is contained in:
Argo Zhang 2020-02-27 22:21:08 +08:00
parent 8f6263814c
commit f10e36031f
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ namespace Bootstrap.DataAccess
public void RetrieveHomeUrl_Ok()
{
Assert.Equal("~/Home/Index", DictHelper.RetrieveHomeUrl("Admin", ""));
Assert.Equal("http://localhost:49185/", DictHelper.RetrieveHomeUrl("Admin", "Demo"));
Assert.Equal("http://localhost:49185", DictHelper.RetrieveHomeUrl("Admin", "Demo"));
Assert.Equal("~/Home/Index", DictHelper.RetrieveHomeUrl("Admin", "BA"));
// 开启默认程序功能