Complete safety and transfer remediation verification
This commit is contained in:
@@ -110,8 +110,10 @@ func TestRestorePlanExistingAudioRequiresVerifiedReplacement(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatalf("buildRestorePlan() error = %v", err)
|
||||
}
|
||||
if len(store.Downloads) != 0 {
|
||||
t.Fatalf("downloads = %d, want no remote checksum download for audio", len(store.Downloads))
|
||||
for _, read := range store.Reads {
|
||||
if read.Key == current.SessionPrefix+"audio/alice.flac" {
|
||||
t.Fatal("audio unexpectedly read during planning")
|
||||
}
|
||||
}
|
||||
actionByRel := map[string]RestoreAction{}
|
||||
for _, action := range plan.Actions {
|
||||
|
||||
Reference in New Issue
Block a user