mirror of
https://github.com/cloudflare/redoctober.git
synced 2026-01-09 23:47:54 +00:00
Merge pull request #28 from grittygrease/master
Merge pull request #1 from grittygrease/server-reload-fix
This commit is contained in:
@@ -12,16 +12,16 @@ import (
|
||||
func TestStaticVault(t *testing.T) {
|
||||
err := InitFromDisk("/tmp/redoctober.json")
|
||||
if err != nil {
|
||||
t.Fatalf("Error reading record", err)
|
||||
t.Fatalf("Error reading record")
|
||||
}
|
||||
|
||||
_, err = AddNewRecord("test", "bad pass", true)
|
||||
if err != nil {
|
||||
t.Fatalf("Error creating record", err)
|
||||
t.Fatalf("Error creating record")
|
||||
}
|
||||
err = InitFromDisk("/tmp/redoctober.json")
|
||||
if err != nil {
|
||||
t.Fatalf("Error reading record", err)
|
||||
t.Fatalf("Error reading record")
|
||||
}
|
||||
os.Remove("/tmp/redoctober.json")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user