APIv4 put /teams/{team_id}/patch (#5860)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
4c1eb7ff55
Коммит
d0af931e6e
@@ -380,6 +380,16 @@ func CheckUserSanitization(t *testing.T, user *model.User) {
|
||||
}
|
||||
}
|
||||
|
||||
func CheckTeamSanitization(t *testing.T, team *model.Team) {
|
||||
if team.Email != "" {
|
||||
t.Fatal("email wasn't blank")
|
||||
}
|
||||
|
||||
if team.AllowedDomains != "" {
|
||||
t.Fatal("'allowed domains' wasn't blank")
|
||||
}
|
||||
}
|
||||
|
||||
func CheckEtag(t *testing.T, data interface{}, resp *model.Response) {
|
||||
if !reflect.ValueOf(data).IsNil() {
|
||||
debug.PrintStack()
|
||||
|
||||
Ссылка в новой задаче
Block a user