Skip to content

Commit

Permalink
Merge pull request #303 from galasa-dev/mcobbett-fix-unit-test
Browse files Browse the repository at this point in the history
generated code changed. Unit test needs to change also
  • Loading branch information
techcobweb authored Oct 30, 2024
2 parents 3e710bc + 7844dd8 commit 372750d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/users/usersGet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))

}))
Expand Down

0 comments on commit 372750d

Please sign in to comment.