diff options
Diffstat (limited to 'common_test.go')
-rw-r--r-- | common_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/common_test.go b/common_test.go index 446bc16..612afd1 100644 --- a/common_test.go +++ b/common_test.go @@ -28,9 +28,8 @@ func (s *MockGitUploadPackService) Info() (*common.GitUploadPackInfo, error) { return &common.GitUploadPackInfo{ Capabilities: common.Capabilities(values), - Refs: map[string]*common.RemoteHead{ - "refs/heads/master": &common.RemoteHead{Id: hash}, - }, + Head: "refs/heads/master", + Refs: map[string]internal.Hash{"refs/heads/master": hash}, }, nil } |