test: 修复单元测试编译问题

This commit is contained in:
Argo Zhang 2019-09-18 16:47:29 +08:00
parent 74c5f7e2f5
commit 14567e29ab
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ namespace Bootstrap.DataAccess.SqlServer
[Fact]
public void Authenticate_Ok()
{
Assert.True(UserHelper.Authenticate("Admin", "123789", u => u.Ip = "::1"));
Assert.True(UserHelper.Authenticate("Admin", "123789"));
}
/// <summary>
@ -27,7 +27,7 @@ namespace Bootstrap.DataAccess.SqlServer
[Fact]
public void Authenticate_Fail()
{
Assert.False(UserHelper.Authenticate("Admin-NotExists", "123789", u => u.Ip = "::1"));
Assert.False(UserHelper.Authenticate("Admin-NotExists", "123789"));
}
[Fact]