From f9e84e3fc7e2d8fdcf8495d7d602d77f27f0c4a3 Mon Sep 17 00:00:00 2001 From: Macy Date: Mon, 1 Apr 2024 09:23:12 -0700 Subject: [PATCH] rename test --- mock/mock_engine_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mock/mock_engine_test.go b/mock/mock_engine_test.go index 45df3e7..41bf3f9 100644 --- a/mock/mock_engine_test.go +++ b/mock/mock_engine_test.go @@ -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: