Skip to content

Commit

Permalink
Fixing unit test (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
mageddo authored Aug 26, 2019
1 parent 817678f commit 9f02a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/v1/hostname_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func TestPostHostnameInvalidPayloadError(t *testing.T) {

assert.Nil(t, err)
assert.Equal(t, http.StatusBadRequest, r.StatusCode())
assert.Equal(t, `{"code":400,"message":"Invalid JSON"}`, r.String())
assert.Equal(t, `{"code":400,"message":"Invalid JSON: unexpected EOF"}`, r.String())

}

Expand Down

0 comments on commit 9f02a75

Please sign in to comment.