diff --git a/server/public/model/custom_profile_attributes_test.go b/server/public/model/custom_profile_attributes_test.go index 0c43a1048e3..556fa40af94 100644 --- a/server/public/model/custom_profile_attributes_test.go +++ b/server/public/model/custom_profile_attributes_test.go @@ -49,7 +49,7 @@ func TestCustomProfileAttributeSelectOptionIsValid(t *testing.T) { Name: "Test Option", Color: "#FF0000", }, - wantErr: "invalid option at index 1: id cannot be empty", + wantErr: "id cannot be empty", }, { name: "invalid ID", @@ -133,7 +133,7 @@ func TestCustomProfileAttributesSelectOptionsIsValid(t *testing.T) { Color: "#00FF00", }, }, - wantErr: "id cannot be empty", + wantErr: "invalid option at index 1: id cannot be empty", }, { name: "duplicate names",