mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
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.
This commit is contained in:
committed by
Joram Wilander
parent
3da2dad989
commit
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.")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user