MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / newGraphHTTP

Function newGraphHTTP

internal/server/commitment_graph_entry_test.go:22–24  ·  view source on GitHub ↗
(t *testing.T, roles ...models.CommitmentRolesInput)

Source from the content-addressed store, hash-verified

20}
21
22func newGraphHTTP(t *testing.T, roles ...models.CommitmentRolesInput) *graphHTTP {
23 return newGraphHTTPOn(t, testServer(t), roles...)
24}
25func newGraphHTTPOn(t *testing.T, srv *Server, roles ...models.CommitmentRolesInput) *graphHTTP {
26 f := &graphHTTP{schedHTTP: newSchedHTTPOn(t, srv), access: models.CommitmentAccess{Readable: map[string]bool{}, Editable: map[string]bool{}}}
27 for i, r := range roles {

Calls 2

newGraphHTTPOnFunction · 0.85
testServerFunction · 0.85

Tested by

no test coverage detected