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