File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft/Data/SqlClient Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ public class TdsParserStateObjectNativeTests
1313 [ Theory ]
1414 [ InlineData ( null , true , "" ) ] // Integrated + null -> empty (generate SPN)
1515 [ InlineData ( "" , true , "" ) ] // Integrated + empty -> empty (generate SPN)
16- [ InlineData ( " " , true , "" ) ] // Integrated + empty -> empty (generate SPN)
16+ [ InlineData ( " " , true , "" ) ] // Integrated + whitespace -> empty (generate SPN)
1717 [ InlineData ( "MSSQLSvc/host" , true , "MSSQLSvc/host" ) ] // Integrated + provided -> use it
1818 [ InlineData ( null , false , null ) ] // SQL Auth + null -> null (no generation)
1919 [ InlineData ( "" , false , null ) ] // SQL Auth + empty -> null (no generation)
20- [ InlineData ( " " , false , null ) ] // SQL Auth + empty -> null (no generation)
20+ [ InlineData ( " " , false , null ) ] // SQL Auth + whitespace -> null (no generation)
2121 [ InlineData ( "MSSQLSvc/host" , false , "MSSQLSvc/host" ) ] // SQL Auth + provided -> use it
2222 [ PlatformSpecific ( TestPlatforms . Windows ) ]
2323 public void NormalizeServerSpn_ReturnsExpectedValue (
You can’t perform that action at this time.
0 commit comments