XYZ-32: Increases size of position to 128 characters. (#8148)
* XYZ-32: Changes type of 'position' column on 'users' table. * XYZ-32: Uncomment to run on CI and pre-release. * XYZ-32: Reverts translation changes. * XYZ-32: Fix for gofmt.
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
3da2dad989
Коммит
540dd9ae94
@@ -405,7 +405,7 @@ func TestImportValidateUserImportData(t *testing.T) {
|
||||
}
|
||||
data.LastName = ptrStr("Blob")
|
||||
|
||||
data.Position = ptrStr(strings.Repeat("abcdefghij", 7))
|
||||
data.Position = ptrStr(strings.Repeat("abcdefghij", 13))
|
||||
if err := validateUserImportData(&data); err == nil {
|
||||
t.Fatal("Validation should have failed due to too long Position.")
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user