Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
axetroy committed Jun 4, 2020
1 parent d57abde commit 6f2fc52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func TestResetPasswordWithEmptyBody(t *testing.T) {
assert.Nil(t, json.Unmarshal(r.Body.Bytes(), &res))

assert.Equal(t, exception.InvalidParams.Code(), res.Status)
assert.Equal(t, exception.InvalidParams.Error(), res.Message)
assert.Equal(t, "unexpected end of JSON input", res.Message)
assert.Nil(t, res.Data)
}

Expand Down
2 changes: 1 addition & 1 deletion internal/app/user_server/controller/auth/signin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func TestSignInWithEmptyBody(t *testing.T) {
assert.Nil(t, json.Unmarshal(r.Body.Bytes(), &res))

assert.Equal(t, exception.InvalidParams.Code(), res.Status)
assert.Equal(t, exception.InvalidParams.Error(), res.Message)
assert.Equal(t, "unexpected end of JSON input", res.Message)
assert.Nil(t, res.Data)
}

Expand Down
2 changes: 1 addition & 1 deletion internal/app/user_server/controller/auth/signup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func TestSignUpWithEmptyBody(t *testing.T) {
assert.Nil(t, json.Unmarshal(r.Body.Bytes(), &res))

assert.Equal(t, exception.InvalidParams.Code(), res.Status)
assert.Equal(t, exception.InvalidParams.Error(), res.Message)
assert.Equal(t, "unexpected end of JSON input", res.Message)
assert.Nil(t, res.Data)
}

Expand Down

0 comments on commit 6f2fc52

Please sign in to comment.