diff --git a/Src/Asp.Net/SqliteTest/UserTestCases/Cases/UCustom011.cs b/Src/Asp.Net/SqliteTest/UserTestCases/Cases/UCustom011.cs index d51eccf43..ddaf8d55b 100644 --- a/Src/Asp.Net/SqliteTest/UserTestCases/Cases/UCustom011.cs +++ b/Src/Asp.Net/SqliteTest/UserTestCases/Cases/UCustom011.cs @@ -20,7 +20,7 @@ namespace OrmTest var x5 = db.Queryable().Select(it => DateTime.Now.DayOfWeek.ToString()).ToList(); if (x1.Any()) { - Check.Exception(x1.First()!=365, "unit error . UCustom011"); + Check.Exception(x1.First()!=365&& x1.First() != 366, "unit error . UCustom011"); Check.Exception(x2.First() != 24, "unit error . UCustom011"); Check.Exception(x3.First()<=59|| x3.First() >=61, "unit error . UCustom011"); Check.Exception(x4.First() <= 59 || x4.First() >= 61, "unit error . UCustom011");