Remove unused method

This commit is contained in:
Jannis Mattheis 2018-03-24 20:01:03 +01:00 committed by Jannis Mattheis
parent 0f2e7cf5e2
commit a6ff23944d
1 changed files with 0 additions and 8 deletions

View File

@ -1,7 +1,6 @@
package api
import (
"io/ioutil"
"net/http/httptest"
"strings"
"testing"
@ -249,10 +248,3 @@ func (s *UserSuite) Test_UpdatePassword_EmptyPassword() {
func externalOf(user *model.User) *model.UserExternal {
return &model.UserExternal{Name: user.Name, Admin: user.Admin, ID: user.ID}
}
func (s *UserSuite) expectJSON(json string) {
assert.Equal(s.T(), 200, s.recorder.Code)
bytes, _ := ioutil.ReadAll(s.recorder.Body)
assert.JSONEq(s.T(), json, string(bytes))
}