Skip to content

Commit fb6945a

Browse files
committed
Update 人大金仓 unit test
1 parent cfa4c6e commit fb6945a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Src/Asp.NetCore2/KdbndpTest/UnitTest/UThread.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public partial class NewUnitTest
2525
}
2626
}
2727
});
28-
public static SqlSugarScope ssDb => new SqlSugarScope(new ConnectionConfig()
28+
public static SqlSugarClient ssDb => new SqlSugarClient(new ConnectionConfig()
2929
{
3030
DbType = DbType.Kdbndp,
3131
ConnectionString = Config.ConnectionString,
@@ -41,7 +41,7 @@ public partial class NewUnitTest
4141
}
4242
}
4343
});
44-
public static SqlSugarClient singleDb = new SqlSugarClient(new ConnectionConfig()
44+
public static SqlSugarScope singleDb = new SqlSugarScope(new ConnectionConfig()
4545
{
4646
DbType = DbType.Kdbndp,
4747
ConnectionString = Config.ConnectionString,

Src/Asp.NetCore2/KdbndpTest/UnitTest/UValidate.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class UValidate
1010
{
1111
public static void Check(object a, object b, object name)
1212
{
13-
if (a?.ToString()?.Trim() != b?.ToString()?.Trim())
13+
if (a?.ToString()?.Replace(" ","").Trim().ToLower() != b?.ToString().Replace(" ", "")?.Trim().ToLower())
1414
{
1515
throw new Exception(name + " error");
1616
}

0 commit comments

Comments
 (0)