File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Orm/Xtensive.Orm.Tests.Sql Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,12 +66,12 @@ public void SqlServerConnectionCheckTest()
6666 var factory = ( SqlDriverFactory ) Activator . CreateInstance ( descriptor . DriverFactory ) ;
6767
6868 var configuration = new SqlDriverConfiguration ( ) { EnsureConnectionIsAlive = false } ;
69- factory . GetDriver ( new ConnectionInfo ( Url ) , configuration ) ;
70- Assert . That ( configuration . EnsureConnectionIsAlive , Is . False ) ;
69+ var driver = factory . GetDriver ( new ConnectionInfo ( Url ) , configuration ) ;
70+ Assert . That ( GetCheckConnectionIsAliveFlag ( driver ) , Is . False ) ;
7171
7272 configuration = configuration . Clone ( ) ;
7373 configuration . EnsureConnectionIsAlive = true ;
74- var driver = factory . GetDriver ( new ConnectionInfo ( Url ) , configuration ) ;
74+ driver = factory . GetDriver ( new ConnectionInfo ( Url ) , configuration ) ;
7575 Assert . That ( GetCheckConnectionIsAliveFlag ( driver ) , Is . True ) ;
7676
7777 configuration = configuration . Clone ( ) ;
You can’t perform that action at this time.
0 commit comments