Skip to content

Commit

Permalink
try to fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
Havunen committed May 5, 2024
1 parent d35f13f commit 9125549
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,15 @@ public void GetSwagger_GenerateParametersSchemas_IfActionParameterIsIllegalHeade
{
Name = illegalParameterName,
Source = BindingSource.Header,
ModelMetadata = ModelMetadataFactory.CreateForParameter(illegalParameter)
ModelMetadata = ModelMetadataFactory.CreateForParameter(illegalParameter),
Type = typeof(string)
},
new ApiParameterDescription
{
Name = "param",
Source = BindingSource.Header,
ModelMetadata = ModelMetadataFactory.CreateForType(typeof(string))
ModelMetadata = ModelMetadataFactory.CreateForType(typeof(string)),
Type = typeof(string)
}
}),
}
Expand Down

0 comments on commit 9125549

Please sign in to comment.