diff options
Diffstat (limited to 'common_test.go')
-rw-r--r-- | common_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common_test.go b/common_test.go index 2dabf6b..980c191 100644 --- a/common_test.go +++ b/common_test.go @@ -6,6 +6,7 @@ import ( "gopkg.in/src-d/go-git.v4/fixtures" "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" + "gopkg.in/src-d/go-git.v4/plumbing/storer" "gopkg.in/src-d/go-git.v4/plumbing/transport/client" . "gopkg.in/check.v1" @@ -16,6 +17,7 @@ func Test(t *testing.T) { TestingT(t) } type BaseSuite struct { fixtures.Suite Repository *Repository + Storer storer.EncodedObjectStorer cache map[string]*Repository } @@ -31,6 +33,7 @@ func (s *BaseSuite) SetUpSuite(c *C) { func (s *BaseSuite) buildBasicRepository(c *C) { f := fixtures.Basic().One() s.Repository = s.NewRepository(f) + s.Storer = s.Repository.s } func (s *BaseSuite) NewRepository(f *fixtures.Fixture) *Repository { |