test: add e2e test suite and fix namespace/mention/assignee flags
This commit is contained in:
@@ -24,8 +24,8 @@ var addCmd = &cobra.Command{
|
||||
}
|
||||
|
||||
// default relations
|
||||
if !slices.ContainsFunc(cRels, func(e string) bool { return strings.HasPrefix(e, "_namespace::") }) {
|
||||
cRels = append(cRels, "_namespace::"+cfg.GetUser())
|
||||
if !slices.ContainsFunc(cRels, func(e string) bool { return strings.HasPrefix(e, "in_namespace:") }) {
|
||||
cRels = append(cRels, "in_namespace:"+cfg.GetUser())
|
||||
}
|
||||
|
||||
// parse relations
|
||||
|
||||
Reference in New Issue
Block a user