refactor CHORUS
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
// Note: This is a light test around name routing; full pubsub requires network.
|
||||
func TestPublishRaw_NameRouting_NoSubscription(t *testing.T) {
|
||||
// Build a minimal PubSub with names set but no subscriptions.
|
||||
p := &PubSub{ bzzzTopicName: "CHORUS/coordination/v1", hmmmTopicName: "hmmm/meta-discussion/v1", contextTopicName: "CHORUS/context-feedback/v1" }
|
||||
p := &PubSub{ chorusTopicName: "CHORUS/coordination/v1", hmmmTopicName: "hmmm/meta-discussion/v1", contextTopicName: "CHORUS/context-feedback/v1" }
|
||||
if err := p.PublishRaw("nonexistent/topic", []byte("{}")); err == nil {
|
||||
t.Fatalf("expected error for unknown topic")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user