feat: #337 unify types for auth module
This commit is contained in:
@@ -11,7 +11,6 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"me-fit/db"
|
||||
"me-fit/service"
|
||||
"me-fit/types"
|
||||
|
||||
@@ -271,7 +270,7 @@ func TestIntegrationAuth(t *testing.T) {
|
||||
assert.Equal(t, http.StatusOK, resp.StatusCode)
|
||||
|
||||
var token string
|
||||
err = d.QueryRow("SELECT token FROM token WHERE type = ?", db.TokenTypePasswordReset).Scan(&token)
|
||||
err = d.QueryRow("SELECT token FROM token WHERE type = ?", types.TokenTypePasswordReset).Scan(&token)
|
||||
assert.Nil(t, err)
|
||||
|
||||
formData = url.Values{
|
||||
|
||||
Reference in New Issue
Block a user