test: add e2e test suite and fix namespace/mention/assignee flags
This commit is contained in:
@@ -134,7 +134,7 @@ func (n *Node) AddRelation(relType RelType, target string) {
|
||||
if n.relations == nil {
|
||||
n.relations = make(map[string][]string)
|
||||
}
|
||||
if relType == RelAssignee || relType == RelCreated {
|
||||
if relType == RelAssignee || relType == RelCreated || relType == RelInNamespace {
|
||||
n.relations[string(relType)] = []string{target}
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user