add identity folder creation
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
ycc
2024-03-29 18:26:41 +01:00
parent 385c5f3298
commit a5cfbf854d
3 changed files with 19 additions and 6 deletions

View File

@ -8,7 +8,10 @@ import (
)
func TestGetFromPublicKey(t *testing.T) {
id := CreateIdentity("test")
id, err := CreateIdentity("test")
if err != nil {
t.Fatal("CreateIdentity failed")
}
id.Save()
for i := 1; i < 10; i++ {
var p Peer