test(#IWOJ3): 增加IP地址位置缓存时长单元测试

#Issue
link https://gitee.com/LongbowEnterprise/dashboard/issues?id=IWOJ3
This commit is contained in:
Argo Zhang 2019-05-17 16:03:22 +08:00
parent b9c68a32c8
commit 5600cfe4c0
1 changed files with 6 additions and 0 deletions

View File

@ -162,6 +162,12 @@ namespace Bootstrap.DataAccess.SqlServer
Assert.Equal(1, DictHelper.RetrieveAccessLogPeriod());
}
[Fact]
public void IPSvrCachePeriod_Ok()
{
Assert.Equal("10", DictHelper.RetrieveLocaleIPSvrCachePeriod());
}
#region Private Class For Test
/// <summary>
///