File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed
test/Microsoft.OpenApi.Tests/Validations Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -70,35 +70,6 @@ public void ReferencedSchemaShouldOnlyBeValidatedOnce()
70
70
Assert . True ( errors . Count ( ) == 1 ) ;
71
71
}
72
72
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
-
102
73
[ Fact ]
103
74
public void UnresolvedSchemaReferencedShouldNotBeValidated ( )
104
75
{
You can’t perform that action at this time.
0 commit comments