From 7844dd8dee4d3835dbc2d1456e7a1d70e01f73f9 Mon Sep 17 00:00:00 2001 From: Mike Cobbett <77053+techcobweb@users.noreply.github.com> Date: Wed, 30 Oct 2024 10:22:00 +0000 Subject: [PATCH] generated code changed. Unit test needs to change also Signed-off-by: Mike Cobbett <77053+techcobweb@users.noreply.github.com> --- pkg/users/usersGet_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/users/usersGet_test.go b/pkg/users/usersGet_test.go index 314f4cea..6a6e312e 100644 --- a/pkg/users/usersGet_test.go +++ b/pkg/users/usersGet_test.go @@ -79,7 +79,7 @@ func TestMeInputLoginIdPrintsDetailsOnConsole(t *testing.T) { server := httptest.NewServer(http.HandlerFunc(func(writer http.ResponseWriter, request *http.Request) { writer.Header().Set("Content-Type", "application/json") - jsonToReturn := `[{ "login_id": "myUserId" }]` + jsonToReturn := `[{ "login-id": "myUserId" }]` writer.Write([]byte(jsonToReturn)) }))