Skip to content

Commit 5140baf

Browse files
committed
- fixes unit tests
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
1 parent da035fa commit 5140baf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test/Microsoft.OpenApi.Tests/PublicApi/PublicApi.approved.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1431,6 +1431,7 @@ namespace Microsoft.OpenApi.Validations.Rules
14311431
[Microsoft.OpenApi.Validations.Rules.OpenApiRule]
14321432
public static class OpenApiPathsRules
14331433
{
1434+
public static Microsoft.OpenApi.Validations.ValidationRule<Microsoft.OpenApi.Models.OpenApiPaths> PathMustBeUnique { get; }
14341435
public static Microsoft.OpenApi.Validations.ValidationRule<Microsoft.OpenApi.Models.OpenApiPaths> PathNameMustBeginWithSlash { get; }
14351436
}
14361437
[Microsoft.OpenApi.Validations.Rules.OpenApiRule]

test/Microsoft.OpenApi.Tests/Validations/ValidationRuleSetTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public void DefaultRuleSetPropertyReturnsTheCorrectRules()
3535
Assert.NotEmpty(rules);
3636

3737
// Update the number if you add new default rule(s).
38-
Assert.Equal(22, rules.Count);
38+
Assert.Equal(23, rules.Count);
3939
}
4040
}
4141
}

0 commit comments

Comments
 (0)