You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -467,6 +468,7 @@ public void Cannot_KeyRoute_KeySpacePattern()
467
468
Assert.True(channel.IsMultiNode);
468
469
Assert.False(channel.IsKeyRouted);
469
470
Assert.StartsWith("Key routing is not supported for multi-node channels",Assert.Throws<InvalidOperationException>(()=>channel.WithKeyRouting()).Message);
471
+
Assert.StartsWith("Publishing is not supported for multi-node channels",Assert.Throws<InvalidOperationException>(()=>channel.GetPublishCommand()).Message);
470
472
}
471
473
472
474
[Fact]
@@ -476,6 +478,7 @@ public void Cannot_KeyRoute_KeyEvent()
476
478
Assert.True(channel.IsMultiNode);
477
479
Assert.False(channel.IsKeyRouted);
478
480
Assert.StartsWith("Key routing is not supported for multi-node channels",Assert.Throws<InvalidOperationException>(()=>channel.WithKeyRouting()).Message);
481
+
Assert.StartsWith("Publishing is not supported for multi-node channels",Assert.Throws<InvalidOperationException>(()=>channel.GetPublishCommand()).Message);
479
482
}
480
483
481
484
[Fact]
@@ -485,6 +488,7 @@ public void Cannot_KeyRoute_KeyEvent_Custom()
485
488
Assert.True(channel.IsMultiNode);
486
489
Assert.False(channel.IsKeyRouted);
487
490
Assert.StartsWith("Key routing is not supported for multi-node channels",Assert.Throws<InvalidOperationException>(()=>channel.WithKeyRouting()).Message);
491
+
Assert.StartsWith("Publishing is not supported for multi-node channels",Assert.Throws<InvalidOperationException>(()=>channel.GetPublishCommand()).Message);
0 commit comments