Skip to content

Commit

Permalink
Fixed broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
simpat-jesus committed Nov 17, 2023
1 parent 6a50f5d commit 50fe24f
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ public void StringPropertyBuilder_should_set_string_properties()
f =>
f.GetMetadata(propInfo) == new OpenApiParameter
{
Required = true
Required = true,
Schema = new OpenApiSchema()
});

var builder = new StringPropertyBuilder(lookup);
Expand Down Expand Up @@ -328,7 +329,8 @@ public void SimplePropertyBuilder_should_generate_a_value_if_required()
f =>
f.GetMetadata(propInfo) == new OpenApiParameter
{
Required = true
Required = true,
Schema = new OpenApiSchema()
});

var builder = new SimplePropertyBuilder(lookup, Mock.Of<IDestructiveTestConfiguration>());
Expand Down

0 comments on commit 50fe24f

Please sign in to comment.