Slug: Combine various slugify fixes for special character handling (#73164)
* combine various slugify fixes for special character handling * a couple more test cases * update more tests * goimports
This commit is contained in:
@@ -64,7 +64,7 @@ func TestSaveExternalServiceRoleCommand_Validate(t *testing.T) {
|
||||
Permissions: []Permission{{Action: "users:read", Scope: "users:id:1"}},
|
||||
},
|
||||
wantErr: false,
|
||||
wantID: "thisis-a-very-strange-___-app-name",
|
||||
wantID: "thisis-a-very-strange-app-name",
|
||||
},
|
||||
{
|
||||
name: "invalid empty Action",
|
||||
|
||||
Reference in New Issue
Block a user