package nodegrant import ( "slices" "testing" ) // Design 47 G A-461b: the node asks the seat mesh-catalog's verbs entry, module and seat-definitions through the seat's call // subjects, so its grant holds each; a grant without one makes that call hang until the node's own bound (the verb module was // declared in the manifest but missing here, which held the node-engine's integration tests for 58 s). func TestTheNodeGrantHoldsTheCatalogVerbsTheComposerAsks(t *testing.T) { p := For("it1") for _, verb := range []string{"entry", "module", "seat-definitions"} { want := "mesh.seat.mesh-catalog.call." + verb + ".node~it1" if !slices.Contains(p.Publish, want) { t.Errorf("the node's grant does not publish to %s", want) } } }