mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
fix tests
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user