Skip to content

Commit

Permalink
rename test
Browse files Browse the repository at this point in the history
  • Loading branch information
macyabbey committed Apr 1, 2024
1 parent 73d2daa commit f9e84e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mock/mock_engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1010,10 +1010,10 @@ components:
assert.Equal(t, "perhaps the saddest cyberpunk movie ever made.", decoded["description"])
}

func TestNewMockEngine_UseExamples_Preferred_First_200_Has_Hideous_Media_Type(t *testing.T) {
func TestNewMockEngine_UseExamples_Preferred_200_Not_Json(t *testing.T) {
// A little far-fetched for an API to behave this way,
// where lowest 2xx response is html and second is json,
// including the test case to catch a panic case
// including the test case just in case
spec := `openapi: 3.1.0
paths:
/test:
Expand Down

0 comments on commit f9e84e3

Please sign in to comment.