Skip to content

Commit

Permalink
Mark 3xx status codes as errors in PBT
Browse files Browse the repository at this point in the history
  • Loading branch information
Tr00d committed Aug 25, 2023
1 parent 8afc506 commit ba45dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Vonage.Common.Test/Extensions/FsCheckExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ from code in GetInvalidStatusCodes().Generator
/// </summary>
/// <returns>An Arbitrary of status codes.</returns>
public static Arbitrary<HttpStatusCode> GetInvalidStatusCodes() =>
Gen.Choose(400, 599).Select(value => (HttpStatusCode) value).ToArbitrary();
Gen.Choose(300, 599).Select(value => (HttpStatusCode) value).ToArbitrary();

/// <summary>
/// Retrieves a generator that produces negative decimals.
Expand Down

0 comments on commit ba45dc9

Please sign in to comment.