diff options
Diffstat (limited to 'api/graphql/graphql_test.go')
-rw-r--r-- | api/graphql/graphql_test.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/api/graphql/graphql_test.go b/api/graphql/graphql_test.go index e28ce8ab..a8dfad3f 100644 --- a/api/graphql/graphql_test.go +++ b/api/graphql/graphql_test.go @@ -19,8 +19,11 @@ func TestQueries(t *testing.T) { random_bugs.FillRepoWithSeed(repo, 10, 42) mrc := cache.NewMultiRepoCache() - _, _, err := mrc.RegisterDefaultRepository(repo) + _, events, err := mrc.RegisterDefaultRepository(repo) require.NoError(t, err) + for event := range events { + require.NoError(t, event.Err) + } handler := NewHandler(mrc, nil) |