diff --git a/gql_test.go b/gql_test.go index b57df18..187213c 100644 --- a/gql_test.go +++ b/gql_test.go @@ -157,7 +157,7 @@ func TestGQLAuth(t * testing.T) { key, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader) fatalErr(t, err) - p1_r := NewSimplePolicy(RandID(), NewNodeActions(nil, []string{"*"})) + p1_r := NewPerTagPolicy(RandID(), map[string]NodeActions{"gql": NewNodeActions(nil, []string{"*"})}) p1 := &p1_r gql_t_r := NewGQLThread(RandID(), "GQL Thread", "init", ":0", ecdh.P256(), key, nil, nil)