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:
Martin Kraft
2018-01-26 08:37:12 -05:00
committed by Joram Wilander
parent 3da2dad989
commit 540dd9ae94
6 changed files with 19 additions and 11 deletions

View File

@@ -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.")
}