tests updated

This commit is contained in:
Tobias Klein
2017-09-02 19:28:09 +02:00
parent 43ff971dfd
commit 087c3fe1dc
4 changed files with 7 additions and 5 deletions

View File

@@ -7,6 +7,7 @@ import (
"path/filepath"
"sort"
"testing"
"time"
"github.com/restic/restic/internal/archiver"
"github.com/restic/restic/internal/checker"
@@ -305,7 +306,7 @@ func TestCheckerModifiedData(t *testing.T) {
defer cleanup()
arch := archiver.New(repo)
_, id, err := arch.Snapshot(context.TODO(), nil, []string{"."}, nil, "localhost", nil)
_, id, err := arch.Snapshot(context.TODO(), nil, []string{"."}, nil, "localhost", nil, time.Now())
test.OK(t, err)
t.Logf("archived as %v", id.Str())