Fixup Data-dir

This commit is contained in:
Sarah Jamie Lewis 2022-03-08 11:48:33 -08:00
parent a9ab91688b
commit 8f138b47b0
1 changed files with 2 additions and 1 deletions

View File

@ -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()
}