aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/storer/object_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plumbing/storer/object_test.go')
-rw-r--r--plumbing/storer/object_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/plumbing/storer/object_test.go b/plumbing/storer/object_test.go
index 68e8e10..da0db81 100644
--- a/plumbing/storer/object_test.go
+++ b/plumbing/storer/object_test.go
@@ -165,3 +165,7 @@ func (o *MockObjectStorage) DeleteLooseObject(plumbing.Hash) error {
func (o *MockObjectStorage) ObjectPacks() ([]plumbing.Hash, error) {
return nil, nil
}
+
+func (o *MockObjectStorage) DeleteOldObjectPackAndIndex(plumbing.Hash, time.Time) error {
+ return plumbing.ErrObjectNotFound
+}