feat: execute full-repo remaining parity closure plan
This commit is contained in:
14
tests/NATS.Server.Tests/Routes/RouteAccountScopedTests.cs
Normal file
14
tests/NATS.Server.Tests/Routes/RouteAccountScopedTests.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using NATS.Server.Routes;
|
||||
|
||||
namespace NATS.Server.Tests;
|
||||
|
||||
public class RouteAccountScopedTests
|
||||
{
|
||||
[Fact]
|
||||
public void Route_connect_info_includes_account_scope()
|
||||
{
|
||||
var json = RouteConnection.BuildConnectInfoJson("S1", ["A"], "topology-v1");
|
||||
json.ShouldContain("\"accounts\":[\"A\"]");
|
||||
json.ShouldContain("\"topology\":\"topology-v1\"");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user