// create a new realm role.
create a new realm role.
// create a new realm role .
func createRealmRole(t *testing.T, k *Keycloak, realm string, name string) {
	t.Helper()
	role := &Role{
		Name:        String(name),
		Description: String(name + " description"),
	}
	if _, err := k.RealmRoles.Create(context.Background(), realm, role); err != nil {
		t.Errorf("RealmRoles.Create returned error: %v", err)
	}
}
func createRealmRole ( t * testing . T , k * Keycloak , realm string , name string ) { t . Helper ( ) role := & Role { Name : String ( name ) , Description : String ( name + " " ) , } if _ , err := k . RealmRoles . Create ( context . Background ( ) , realm , role ) ; err != nil { t . Errorf ( " " , err ) } }
create a new realm role.
create a new realm role .