fix: match legacy channel business owner display

This commit is contained in:
Yvan
2026-11-05 22:21:52 +08:00
parent 999c9a6315
commit 6a0d0210d4
3 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ func TestChannelListMatchesBindingsAndLiteralBusinessKeyword(t *testing.T) {
t.Fatalf("指定商务应只取本人绑定: %+v %v", page, err)
}
for _, row := range page.Rows {
if row.SourceDB != "lx" || row.BusierUserID == nil || *row.BusierUserID != 9 || row.BusinessDisplayName() != "parent→branch→leaf" {
if row.SourceDB != "lx" || row.BusierUserID == nil || *row.BusierUserID != 9 || row.BusinessDisplayName() != "lx-business(leaf)" {
t.Fatalf("归属展示错误: %+v", row)
}
}