Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 5b98f88

Browse files
committed
Fix SQLServer OrmLite Unit Test connection strings
1 parent 0ced465 commit 5b98f88

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/ServiceStack.OrmLite.SqlServerTests/Converters/ConvertersOrmLiteTestBase.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using System.Configuration;
3-
using System.Data;
43
using NUnit.Framework;
54
using ServiceStack.Logging;
65
using ServiceStack.OrmLite.SqlServer.Converters;
@@ -44,7 +43,7 @@ public override void TestFixtureSetUp()
4443
// Appending the Sql Server Type System Version to use SqlServerSpatial110.dll (2012) assembly
4544
// Sql Server defaults to SqlServerSpatial100.dll (2008 R2) even for versions greater
4645
// https://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.connectionstring.aspx
47-
ConnectionString = ConfigurationManager.ConnectionStrings["testDb"].ConnectionString + "Type System Version=SQL Server 2014;";
46+
ConnectionString = ConfigurationManager.ConnectionStrings["testDb"].ConnectionString + "Type System Version=SQL Server 2012;";
4847

4948
var dialectProvider = SqlServerConverters.Configure(SqlServer2014Dialect.Provider);
5049

@@ -69,7 +68,7 @@ public override void TestFixtureSetUp()
6968
// Appending the Sql Server Type System Version to use SqlServerSpatial110.dll (2012) assembly
7069
// Sql Server defaults to SqlServerSpatial100.dll (2008 R2) even for versions greater
7170
// https://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.connectionstring.aspx
72-
ConnectionString = ConfigurationManager.ConnectionStrings["testDb"].ConnectionString + "Type System Version=SQL Server 2016;";
71+
ConnectionString = ConfigurationManager.ConnectionStrings["testDb"].ConnectionString + "Type System Version=SQL Server 2012;";
7372

7473
var dialectProvider = SqlServerConverters.Configure(SqlServer2016Dialect.Provider);
7574

0 commit comments

Comments
 (0)