mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 16:32:15 +08:00
chore: avoid aliasing imports in services (#22499)
This commit is contained in:
@ -3,7 +3,7 @@ package notifications
|
||||
import (
|
||||
"testing"
|
||||
|
||||
m "github.com/grafana/grafana/pkg/models"
|
||||
"github.com/grafana/grafana/pkg/models"
|
||||
"github.com/grafana/grafana/pkg/setting"
|
||||
. "github.com/smartystreets/goconvey/convey"
|
||||
)
|
||||
@ -13,7 +13,7 @@ func TestEmailCodes(t *testing.T) {
|
||||
Convey("When generating code", t, func() {
|
||||
setting.EmailCodeValidMinutes = 120
|
||||
|
||||
user := &m.User{Id: 10, Email: "t@a.com", Login: "asd", Password: "1", Rands: "2"}
|
||||
user := &models.User{Id: 10, Email: "t@a.com", Login: "asd", Password: "1", Rands: "2"}
|
||||
code, err := createUserEmailCode(user, nil)
|
||||
So(err, ShouldBeNil)
|
||||
|
||||
|
Reference in New Issue
Block a user