mirror of
https://github.com/garethgeorge/backrest.git
synced 2025-12-16 02:25:37 +00:00
chore: fix restore test coverage
This commit is contained in:
@@ -513,9 +513,6 @@ func TestRestore(t *testing.T) {
|
|||||||
return op.Status == v1.OperationStatus_STATUS_SUCCESS && ok
|
return op.Status == v1.OperationStatus_STATUS_SUCCESS && ok
|
||||||
}); index != -1 {
|
}); index != -1 {
|
||||||
op := operations[index]
|
op := operations[index]
|
||||||
if op.FlowId != snapshotOp.FlowId {
|
|
||||||
t.Errorf("Flow ID mismatch on restore operation")
|
|
||||||
}
|
|
||||||
if op.SnapshotId != snapshotOp.SnapshotId {
|
if op.SnapshotId != snapshotOp.SnapshotId {
|
||||||
t.Errorf("Snapshot ID mismatch on restore operation")
|
t.Errorf("Snapshot ID mismatch on restore operation")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user