testcase updated

This commit is contained in:
Tobias Klein 2017-09-09 14:58:07 +02:00
parent 81d7ecba2b
commit f26c0cb70f
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ func TestArchiveNameCollision(t *testing.T) {
arch := archiver.New(repo)
sn, id, err := arch.Snapshot(context.TODO(), nil, []string{"testfile", filepath.Join("..", "testfile")}, nil, "localhost", nil)
sn, id, err := arch.Snapshot(context.TODO(), nil, []string{"testfile", filepath.Join("..", "testfile")}, nil, "localhost", nil, time.Now())
OK(t, err)
t.Logf("snapshot archived as %v", id)