Browse Source

Fixup Data-dir

pull/434/head
Sarah Jamie Lewis 5 months ago
parent
commit
8f138b47b0
  1. 3
      testing/encryptedstorage/encrypted_storage_integration_test.go

3
testing/encryptedstorage/encrypted_storage_integration_test.go

@ -43,7 +43,7 @@ func TestEncryptedStorage(t *testing.T) {
}
torDataDir := ""
if torDataDir, err = ioutil.TempDir(path.Join("..", "testing"), "data-dir-"); err != nil {
if torDataDir, err = ioutil.TempDir(dataDir, "data-dir-"); err != nil {
t.Fatalf("could not create data dir")
}
@ -126,6 +126,7 @@ func TestEncryptedStorage(t *testing.T) {
t.Fatalf("expeced GetMostRecentMessages to return 1, instead returned: %v %v", len(messages), messages)
}
app.Shutdown()
}

Loading…
Cancel
Save