Skip to content

Commit 65e24d1

Browse files
committed
Fix one reference to SqlInternalConnectionTds in unit tests
1 parent 24f3862 commit 65e24d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Microsoft.Data.SqlClient/tests/UnitTests/SimulatedServerTests/ConnectionFailoverTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
using System;
66
using System.Data;
7-
using Microsoft.Data.SqlClient;
7+
using Microsoft.Data.SqlClient.Connection;
88
using Microsoft.Data.SqlClient.Tests.Common;
99
using Microsoft.SqlServer.TDS.Servers;
1010
using Xunit;
@@ -563,7 +563,7 @@ public void TransientFault_IgnoreServerProvidedFailoverPartner_ShouldConnectToUs
563563

564564
// Connect once to the primary to trigger it to send the failover partner
565565
connection.Open();
566-
Assert.Equal("invalidhost", (connection.InnerConnection as SqlInternalConnectionTds)!.ServerProvidedFailoverPartner);
566+
Assert.Equal("invalidhost", (connection.InnerConnection as SqlConnectionInternal)!.ServerProvidedFailoverPartner);
567567

568568
// Close the connection to return it to the pool
569569
connection.Close();

0 commit comments

Comments
 (0)