From 95d75a949bc54653942e103ee1c34171f3204393 Mon Sep 17 00:00:00 2001 From: Jai Radhakrishnan <55522316+jairad26@users.noreply.github.com> Date: Fri, 10 Jan 2025 09:05:13 -0800 Subject: [PATCH] . --- api_test.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/api_test.go b/api_test.go index 3c448e8..6bd5926 100644 --- a/api_test.go +++ b/api_test.go @@ -108,17 +108,6 @@ func TestCreateApi(t *testing.T) { require.NoError(t, err) require.JSONEq(t, `{"me":[{"uid":"0x2","User.name":"B","User.age":20,"User.clerk_id":"123"}]}`, string(resp.GetJson())) - - schemaQuery := `schema{}` - resp, err = db1.Query(ctx, schemaQuery) - require.NoError(t, err) - - require.JSONEq(t, - `{"types": [{"name": "User","fields": [{"name": "User.name"},{"name": "User.age"}, - {"name": "User.clerk_id"}]},{"name": "dgraph.graphql","fields": - [{"name": "dgraph.graphql.schema"},{"name": "dgraph.graphql.xid"}]},{"name": - "dgraph.graphql.persisted_query", "fields": [{"name": "dgraph.graphql.p_query"}]}]}`, - string(resp.GetJson())) } func TestCreateApiWithNonStruct(t *testing.T) {