diff options
Diffstat (limited to 'src/Http/Http.Results/test/BadRequestResultTests.cs')
-rw-r--r-- | src/Http/Http.Results/test/BadRequestResultTests.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Http/Http.Results/test/BadRequestResultTests.cs b/src/Http/Http.Results/test/BadRequestResultTests.cs index 3555def21b..bbbefff4fc 100644 --- a/src/Http/Http.Results/test/BadRequestResultTests.cs +++ b/src/Http/Http.Results/test/BadRequestResultTests.cs @@ -56,6 +56,7 @@ public class BadRequestResultTests // Assert var producesResponseTypeMetadata = builder.Metadata.OfType<ProducesResponseTypeMetadata>().Last(); Assert.Equal(StatusCodes.Status400BadRequest, producesResponseTypeMetadata.StatusCode); + Assert.Equal(typeof(void), producesResponseTypeMetadata.Type); } [Fact] |