From fc8d565f8f71e2c86955e300412520c8d43c5f20 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sun, 5 May 2019 17:54:44 +0800 Subject: [PATCH] =?UTF-8?q?refactor(#IW4W8):=20=E8=AE=BF=E9=97=AE=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E5=A2=9E=E5=8A=A0IP=E6=9F=A5=E8=AF=A2=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E5=8D=95=E5=85=83=E6=B5=8B=E8=AF=95=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #Comment 更新单元测试 comment #IW4W8 #Issue link https://gitee.com/LongbowEnterprise/dashboard/issues?id=IW4W8 --- UnitTest/Bootstrap.DataAccess/LogsTest.cs | 2 +- UnitTest/Bootstrap.DataAccess/TracesTest.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/UnitTest/Bootstrap.DataAccess/LogsTest.cs b/UnitTest/Bootstrap.DataAccess/LogsTest.cs index df744e61..47ac9a0d 100644 --- a/UnitTest/Bootstrap.DataAccess/LogsTest.cs +++ b/UnitTest/Bootstrap.DataAccess/LogsTest.cs @@ -36,7 +36,7 @@ namespace Bootstrap.DataAccess RequestUrl = "~/Home/Index" }; log.Save(log); - Assert.NotNull(log.Retrieves(new PaginationOption() { Limit = 20 }, null, null)); + Assert.NotNull(log.Retrieves(new PaginationOption() { Limit = 20 }, null, null, null)); } } } diff --git a/UnitTest/Bootstrap.DataAccess/TracesTest.cs b/UnitTest/Bootstrap.DataAccess/TracesTest.cs index 9d1e46bf..eae3bbae 100644 --- a/UnitTest/Bootstrap.DataAccess/TracesTest.cs +++ b/UnitTest/Bootstrap.DataAccess/TracesTest.cs @@ -37,7 +37,7 @@ namespace Bootstrap.DataAccess RequestUrl = "~/Home/Index" }; log.Save(log); - Assert.NotEmpty(log.Retrieves(new PaginationOption() { Limit = 20, Offset = 0, Order = "desc", Sort = "LogTime" }, null, null).Items); + Assert.NotEmpty(log.Retrieves(new PaginationOption() { Limit = 20, Offset = 0, Order = "desc", Sort = "LogTime" }, null, null, null).Items); } } }