Skip to content
Snippets Groups Projects
Commit 5fa5f6cd authored by Jono Wenger's avatar Jono Wenger
Browse files

Fix tests

parent 21d117dc
No related branches found
No related tags found
2 merge requests!67Release,!55fully implemented trial hashing of identity fingerprints. Needs tests.
......@@ -94,7 +94,7 @@ func (m Manager) MakeGroup(membership []*id.ID, name, msg []byte) (gs.Group,
Data: g.ID[:],
Type: "group",
Source: g.ID[:],
},m.client.GetUser().ReceptionID)
}, m.store.GetUser().ReceptionID)
}
return g, roundIDs, status, err
......
......@@ -424,7 +424,7 @@ func TestStore_AddUpdateCallback(t *testing.T) {
// for j := range chans[identity] {
// chans[identity][j] = make(chan *id.ID, 2)
// cb := func(cbIdentity *id.ID, _ bool) {
// // t.Logf("callback called for idenetity %s", cbIdentity)
// // t.Logf("callback called for identity %s", cbIdentity)
// chans[identity][j] <- cbIdentity
// }
// // t.Logf("adding callback %d/%d for identity %s", i+1, len(cbs), &identity)
......
......@@ -435,5 +435,10 @@ func InitTestingSession(i interface{}) *Session {
s.hostList = hostList.NewStore(s.kv)
s.edgeCheck, err = edge.NewStore(s.kv, uid)
if err != nil {
jww.FATAL.Panicf("Failed to create new edge Store: %+v", err)
}
return s
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment