(t *testing.T)
| 63 | } |
| 64 | |
| 65 | func TestSQLServerImpersonation(t *testing.T) { |
| 66 | if testing.Short() { |
| 67 | t.Skip("skipping SQL Server integration tests") |
| 68 | } |
| 69 | requireSQLServerVars(t) |
| 70 | // Prepare the initial arguments |
| 71 | args := []string{ |
| 72 | "--impersonate-service-account", *impersonatedUser, |
| 73 | *sqlserverConnName, |
| 74 | } |
| 75 | // Add the IP type flag using the helper |
| 76 | args = AddIPTypeFlag(args) |
| 77 | // Run the test |
| 78 | proxyConnTest(t, args, "sqlserver", sqlserverDSN()) |
| 79 | } |
| 80 | |
| 81 | func TestSQLServerAuthentication(t *testing.T) { |
| 82 | if testing.Short() { |
nothing calls this directly
no test coverage detected