(t testing.TB, expected herodot.DefaultError, q *ketoapi.RelationQuery, opts ...paginationOptionSetter)
| 88 | } |
| 89 | |
| 90 | func (g *cliClient) queryTupleErr(t testing.TB, expected herodot.DefaultError, q *ketoapi.RelationQuery, opts ...paginationOptionSetter) { |
| 91 | _, stdErr, err := g.c.Exec(nil, append(g.assembleQueryFlags(q, opts), "relation-tuple", "get")...) |
| 92 | assert.Error(t, err) |
| 93 | assert.Contains(t, stdErr, expected.GRPCCodeField.String()) |
| 94 | assert.Contains(t, stdErr, expected.Error()) |
| 95 | } |
| 96 | |
| 97 | func (g *cliClient) check(t testing.TB, r *ketoapi.RelationTuple) bool { |
| 98 | var sub string |
nothing calls this directly
no test coverage detected