File tree Expand file tree Collapse file tree
OpenApiKiotaEndToEndTests/AttributeTypes
OpenApiNSwagEndToEndTests/AttributeTypes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,6 +124,13 @@ public override DbContextOptions WithExtension<TExtension>(TExtension extension)
124124 {
125125 return this ;
126126 }
127+
128+ #if NET11_0_OR_GREATER
129+ public override DbContextOptions WithoutExtension < TExtension > ( )
130+ {
131+ return this ;
132+ }
133+ #endif
127134 }
128135 }
129136}
Original file line number Diff line number Diff line change @@ -500,8 +500,8 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
500500 [ InlineData ( nameof ( TypeContainer . TestNullableIPAddress ) , "An invalid IP address was specified." ) ]
501501 [ InlineData ( nameof ( TypeContainer . TestIPNetwork ) , "An invalid IP network was specified." ) ]
502502 [ InlineData ( nameof ( TypeContainer . TestNullableIPNetwork ) , "An invalid IP network was specified." ) ]
503- [ InlineData ( nameof ( TypeContainer . TestVersion ) , "The JSON value is not in a supported Version format ." ) ]
504- [ InlineData ( nameof ( TypeContainer . TestNullableVersion ) , "The JSON value is not in a supported Version format ." ) ]
503+ [ InlineData ( nameof ( TypeContainer . TestVersion ) , "The JSON value could not be converted to System. Version." ) ]
504+ [ InlineData ( nameof ( TypeContainer . TestNullableVersion ) , "The JSON value could not be converted to System. Version." ) ]
505505 public async Task Cannot_update_resource_with_attribute_set_to_invalid_value ( string propertyName , string innerParseError )
506506 {
507507 // Arrange
Original file line number Diff line number Diff line change @@ -493,8 +493,8 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
493493 [ InlineData ( nameof ( TypeContainer . TestNullableIPAddress ) , "An invalid IP address was specified." ) ]
494494 [ InlineData ( nameof ( TypeContainer . TestIPNetwork ) , "An invalid IP network was specified." ) ]
495495 [ InlineData ( nameof ( TypeContainer . TestNullableIPNetwork ) , "An invalid IP network was specified." ) ]
496- [ InlineData ( nameof ( TypeContainer . TestVersion ) , "The JSON value is not in a supported Version format ." ) ]
497- [ InlineData ( nameof ( TypeContainer . TestNullableVersion ) , "The JSON value is not in a supported Version format ." ) ]
496+ [ InlineData ( nameof ( TypeContainer . TestVersion ) , "The JSON value could not be converted to System. Version." ) ]
497+ [ InlineData ( nameof ( TypeContainer . TestNullableVersion ) , "The JSON value could not be converted to System. Version." ) ]
498498 public async Task Cannot_update_resource_with_attribute_set_to_invalid_value ( string propertyName , string innerParseError )
499499 {
500500 // Arrange
You can’t perform that action at this time.
0 commit comments