Skip to content

Commit 984aa09

Browse files
committed
Delete test
1 parent 2b21a91 commit 984aa09

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

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

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -70,35 +70,6 @@ public void ReferencedSchemaShouldOnlyBeValidatedOnce()
7070
Assert.True(errors.Count() == 1);
7171
}
7272

73-
[Fact]
74-
public void UnresolvedReferenceSchemaShouldNotBeValidated()
75-
{
76-
//// Arrange
77-
//var sharedSchema = new JsonSchemaBuilder().Type(SchemaValueType.String).Ref("test").Build();
78-
79-
//OpenApiDocument document = new OpenApiDocument();
80-
//document.Components = new OpenApiComponents()
81-
//{
82-
// Schemas = new Dictionary<string, JsonSchema>()
83-
// {
84-
// ["test"] = sharedSchema
85-
// }
86-
//};
87-
88-
//// Act
89-
//var rules = new Dictionary<string, IList<ValidationRule>>()
90-
//{
91-
// { typeof(JsonSchema).Name,
92-
// new List<ValidationRule>() { new AlwaysFailRule<JsonSchema>() }
93-
// }
94-
//};
95-
96-
//var errors = document.Validate(new ValidationRuleSet(rules));
97-
98-
//// Assert
99-
//Assert.True(!errors.Any());
100-
}
101-
10273
[Fact]
10374
public void UnresolvedSchemaReferencedShouldNotBeValidated()
10475
{

0 commit comments

Comments
 (0)