File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Http/Http.Extensions/test/ValidationsGenerator Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ async Task InvalidStringWithLengthProducesError(Endpoint endpoint)
6767 var problemDetails = await AssertBadRequest ( context ) ;
6868 Assert . Collection ( problemDetails . Errors , kvp =>
6969 {
70- Assert . Equal ( "StringWithLength " , kvp . Key ) ;
71- Assert . Equal ( "The field StringWithLength must be a string with a maximum length of 10." , kvp . Value . Single ( ) ) ;
70+ Assert . Equal ( "stringWithLength " , kvp . Key ) ;
71+ Assert . Equal ( "The field stringWithLength must be a string with a maximum length of 10." , kvp . Value . Single ( ) ) ;
7272 } ) ;
7373 }
7474
@@ -104,8 +104,8 @@ async Task InvalidStringWithLengthProducesError(Endpoint endpoint)
104104 var problemDetails = await AssertBadRequest ( context ) ;
105105 Assert . Collection ( problemDetails . Errors , kvp =>
106106 {
107- Assert . Equal ( "StringWithLength " , kvp . Key ) ;
108- Assert . Equal ( "The field StringWithLength must be a string with a maximum length of 20." , kvp . Value . Single ( ) ) ;
107+ Assert . Equal ( "stringWithLength " , kvp . Key ) ;
108+ Assert . Equal ( "The field stringWithLength must be a string with a maximum length of 20." , kvp . Value . Single ( ) ) ;
109109 } ) ;
110110 }
111111
You can’t perform that action at this time.
0 commit comments