Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion client/runtime_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,6 @@ func TestRuntime_ChunkedResponse(t *testing.T) {
return nil
})

// specDoc, err := spec.Load("../../fixtures/codegen/todolist.simple.yml")
hu, err := url.Parse(server.URL)
require.NoError(t, err)

Expand Down
8 changes: 4 additions & 4 deletions middleware/context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func assertAPIError(t *testing.T, wantCode int, err error) {
}

func TestContentType_Issue264(t *testing.T) {
swspec, err := loads.Spec("../fixtures/bugs/264/swagger.yml")
swspec, err := loads.Spec("../testdata/bugs/264/swagger.yml")
require.NoError(t, err)

api := untyped.NewAPI(swspec)
Expand All @@ -77,7 +77,7 @@ func TestContentType_Issue264(t *testing.T) {
}

func TestContentType_Issue172(t *testing.T) {
swspec, err := loads.Spec("../fixtures/bugs/172/swagger.yml")
swspec, err := loads.Spec("../testdata/bugs/172/swagger.yml")
require.NoError(t, err)

api := untyped.NewAPI(swspec)
Expand All @@ -102,7 +102,7 @@ func TestContentType_Issue172(t *testing.T) {
}

func TestContentType_Issue174(t *testing.T) {
swspec, err := loads.Spec("../fixtures/bugs/174/swagger.yml")
swspec, err := loads.Spec("../testdata/bugs/174/swagger.yml")
require.NoError(t, err)

api := untyped.NewAPI(swspec)
Expand Down Expand Up @@ -482,7 +482,7 @@ func TestContextBindValidRequest(t *testing.T) {
}

func TestContextBindValidRequest_Issue174(t *testing.T) {
spec, err := loads.Spec("../fixtures/bugs/174/swagger.yml")
spec, err := loads.Spec("../testdata/bugs/174/swagger.yml")
require.NoError(t, err)

api := untyped.NewAPI(spec)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading