Skip to content

Commit

Permalink
just updating a couple test files
Browse files Browse the repository at this point in the history
  • Loading branch information
gregsdennis committed Aug 9, 2023
1 parent d704329 commit f96581c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 3 additions & 2 deletions OpenApi.Models.Tests/DocumentBuilderTests.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Net;
using System.Text.Json.Nodes;
using Json.Schema;
using OpenApi.Models.SchemaDraft4;
using Yaml2JsonNode;

namespace OpenApi.Models.Tests;
Expand All @@ -11,7 +10,6 @@ namespace OpenApi.Models.Tests;
// code is simple.
public class DocumentBuilderTests
{
[Test]
public void BuildDocument()
{
var doc = new OpenApiDocument("3.1.0", new("title", "1.0")
Expand Down Expand Up @@ -76,7 +74,10 @@ public void BuildDocument()
}
}
};
}

public void PetStoreExample()
{
var document = new OpenApiDocument("3.0.0",
new("Swagger Petstore", "1.0.0")
{
Expand Down
2 changes: 0 additions & 2 deletions OpenApi.Models.Tests/ValidationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ public class ValidationTests
[TestCase("api-with-examples.yaml")]
[TestCase("callback-example.yaml")]
[TestCase("link-example.yaml")]
//[TestCase("non-oauth-scopes.yaml")]
[TestCase("petstore.yaml")]
[TestCase("petstore-expanded.yaml")]
[TestCase("uspto.yaml")]
//[TestCase("webhook-example.yaml")]
[TestCase("postman.yaml")]
public void ValidateOpenApiDoc_3_0(string fileName)
{
Expand Down

0 comments on commit f96581c

Please sign in to comment.