mirror of
https://github.com/garethgeorge/backrest.git
synced 2025-12-16 02:25:37 +00:00
chore: fix restore test
This commit is contained in:
@@ -493,7 +493,7 @@ func TestRestore(t *testing.T) {
|
|||||||
t.Fatalf("snapshotId must be set")
|
t.Fatalf("snapshotId must be set")
|
||||||
}
|
}
|
||||||
|
|
||||||
restoreTarget := t.TempDir()
|
restoreTarget := t.TempDir() + "/restore"
|
||||||
|
|
||||||
_, err = sut.handler.Restore(context.Background(), connect.NewRequest(&v1.RestoreSnapshotRequest{
|
_, err = sut.handler.Restore(context.Background(), connect.NewRequest(&v1.RestoreSnapshotRequest{
|
||||||
SnapshotId: snapshotOp.SnapshotId,
|
SnapshotId: snapshotOp.SnapshotId,
|
||||||
|
|||||||
Reference in New Issue
Block a user