Skip to content

Commit

Permalink
make test pass
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Lin committed Aug 27, 2018
1 parent 18be6ab commit 14d84fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/handler_user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (suite *UserTestSuite) TestVerifyToken() {
httpRequest.Header.Add("Authorization", suite.JWTBearer)
httpWriter := httptest.NewRecorder()
suite.wc.Dispatch(httpWriter, httpRequest)
assertResponseCode(suite.T(), http.StatusOK, httpWriter)
assertResponseCode(suite.T(), http.StatusSeeOther, httpWriter)
}

func (suite *UserTestSuite) TestVerifyInvalidToken() {
Expand Down

0 comments on commit 14d84fa

Please sign in to comment.