test(#IWOJ3): 增加IP地址位置缓存时长单元测试
#Issue link https://gitee.com/LongbowEnterprise/dashboard/issues?id=IWOJ3
This commit is contained in:
parent
b9c68a32c8
commit
5600cfe4c0
|
@ -162,6 +162,12 @@ namespace Bootstrap.DataAccess.SqlServer
|
||||||
Assert.Equal(1, DictHelper.RetrieveAccessLogPeriod());
|
Assert.Equal(1, DictHelper.RetrieveAccessLogPeriod());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Fact]
|
||||||
|
public void IPSvrCachePeriod_Ok()
|
||||||
|
{
|
||||||
|
Assert.Equal("10", DictHelper.RetrieveLocaleIPSvrCachePeriod());
|
||||||
|
}
|
||||||
|
|
||||||
#region Private Class For Test
|
#region Private Class For Test
|
||||||
/// <summary>
|
/// <summary>
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue