Create & Init Project...
This commit is contained in:
17
app/admin/main/videoup/dao/manager/auth_role_test.go
Normal file
17
app/admin/main/videoup/dao/manager/auth_role_test.go
Normal file
@ -0,0 +1,17 @@
|
||||
package manager
|
||||
|
||||
import (
|
||||
"context"
|
||||
. "github.com/smartystreets/goconvey/convey"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func Test_GetUserRole(t *testing.T) {
|
||||
var (
|
||||
err error
|
||||
)
|
||||
Convey("GetUserRole", t, WithDao(func(d *Dao) {
|
||||
_, err = d.GetUserRole(context.Background(), 1)
|
||||
So(err, ShouldBeNil)
|
||||
}))
|
||||
}
|
Reference in New Issue
Block a user