SDK v3 #8
@ -98,6 +98,11 @@ func TestGetUserByID(t *testing.T) {
|
||||
validUser := models.User{BaseModel: models.BaseModel[models.UserID]{ID: models.UserID(fmt.Sprintf("%025s", "User1"))}}
|
||||
invalidUser := models.User{BaseModel: models.BaseModel[models.UserID]{ID: "invalid"}}
|
||||
|
||||
validUser, err = CreateUser(ctx, validUser)
|
||||
if err != nil {
|
||||
logger.Fatal(err)
|
||||
}
|
||||
|
||||
// Tests
|
||||
type args struct {
|
||||
ctx context.Context
|
||||
|
Loading…
x
Reference in New Issue
Block a user