Skip to content

Commit 0319405

Browse files
committed
fixed some Tests problem
1 parent e602ee9 commit 0319405

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

SmartSql.Tests/Cache/RedisCacheProvider_Test.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using SmartSql.Cache.Redis;
55
using Xunit;
66
using SmartSql.Abstractions.Cache;
7+
using SmartSql.Abstractions;
78

89
namespace SmartSql.Tests.Cache
910
{

SmartSql.Tests/SqlMap/Tag/IsGreaterThan_Test.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using SmartSql.SqlMap.Tags;
1+
using SmartSql.Abstractions;
2+
using SmartSql.SqlMap.Tags;
23
using System;
34
using System.Collections.Generic;
45
using System.Text;
@@ -22,7 +23,7 @@ public void ReturnSql()
2223
string sql = tag.BuildSql(new RequestContext
2324
{
2425
Request = new { Status = OrderStatus.Done }
25-
}, "@");
26+
});
2627
Assert.NotNull(sql);
2728
}
2829

SmartSql.Tests/SqlMap/Tag/IsNotEmpty_Test.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using SmartSql.SqlMap.Tags;
1+
using SmartSql.Abstractions;
2+
using SmartSql.SqlMap.Tags;
23
using System;
34
using System.Collections.Generic;
45
using System.Text;
@@ -21,7 +22,7 @@ public void ReturnSql()
2122
string sql = isNotEmpty.BuildSql(new RequestContext
2223
{
2324

24-
},"@");
25+
});
2526
Assert.NotNull(sql);
2627
}
2728
}

SmartSql.Tests/Tags/Include_Test.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using System;
1+
using SmartSql.Abstractions;
2+
using System;
23
using System.Collections.Generic;
34
using System.Text;
45
using Xunit;

0 commit comments

Comments
 (0)