test(channels): normalize manager outbound test message

This commit is contained in:
Hoshina
2026-04-07 23:09:26 +08:00
parent 27db03e5ca
commit a827d01d7c
+2 -2
View File
@@ -175,11 +175,11 @@ func TestStartAll_PartialFailure_StartsSuccessfulWorkers(t *testing.T) {
pubCtx, pubCancel := context.WithTimeout(context.Background(), 2*time.Second)
defer pubCancel()
if err := m.bus.PublishOutbound(pubCtx, bus.OutboundMessage{
if err := m.bus.PublishOutbound(pubCtx, testOutboundMessage(bus.OutboundMessage{
Channel: "good",
ChatID: "chat-1",
Content: "hello",
}); err != nil {
})); err != nil {
t.Fatalf("PublishOutbound() error = %v", err)
}