diff options
author | Michael Muré <batolettre@gmail.com> | 2020-02-05 01:06:53 +0100 |
---|---|---|
committer | Quentin Gliech <quentingliech@gmail.com> | 2020-02-11 21:23:28 +0100 |
commit | 1effc91556c4567673c68329722bd415ec648a12 (patch) | |
tree | 65dc82bce8fac6487a66094a3d3d772a78dd6d4b /graphql/graphql_test.go | |
parent | 76d40061765a8d0d54fe487587187e8a25240a78 (diff) | |
download | git-bug-1effc91556c4567673c68329722bd415ec648a12.tar.gz |
graphql: merge defaultRepository and repository for simplified webUI code
Diffstat (limited to 'graphql/graphql_test.go')
-rw-r--r-- | graphql/graphql_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphql/graphql_test.go b/graphql/graphql_test.go index 4bab7f58..19770150 100644 --- a/graphql/graphql_test.go +++ b/graphql/graphql_test.go @@ -25,7 +25,7 @@ func TestQueries(t *testing.T) { query := ` query { - defaultRepository { + repository { allBugs(first: 2) { pageInfo { endCursor @@ -162,7 +162,7 @@ func TestQueries(t *testing.T) { } var resp struct { - DefaultRepository struct { + Repository struct { AllBugs struct { PageInfo models.PageInfo Nodes []struct { |