fix tests

This commit is contained in:
Julien Tant
2025-02-12 13:22:04 -07:00
parent db1839a6e9
commit e54ea2ba2f
@@ -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",