aboutsummaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/http/git_file_handlers_test.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/api/http/git_file_handlers_test.go b/api/http/git_file_handlers_test.go
index b2371abf..7be4aff6 100644
--- a/api/http/git_file_handlers_test.go
+++ b/api/http/git_file_handlers_test.go
@@ -22,8 +22,11 @@ func TestGitFileHandlers(t *testing.T) {
repo := repository.CreateGoGitTestRepo(t, false)
mrc := cache.NewMultiRepoCache()
- repoCache, _, err := mrc.RegisterDefaultRepository(repo)
+ repoCache, events, err := mrc.RegisterDefaultRepository(repo)
require.NoError(t, err)
+ for event := range events {
+ require.NoError(t, event.Err)
+ }
author, err := repoCache.Identities().New("test identity", "test@test.org")
require.NoError(t, err)