Skip to content
Snippets Groups Projects
Commit 94a70702 authored by Josh Brooks's avatar Josh Brooks
Browse files

Fix tests

parent 726a1419
No related branches found
No related tags found
2 merge requests!510Release,!289Have ud.Search/Lookup take in udE2e
...@@ -87,8 +87,7 @@ func TestManager_Lookup(t *testing.T) { ...@@ -87,8 +87,7 @@ func TestManager_Lookup(t *testing.T) {
} }
// Run the lookup // Run the lookup
_, _, err = Lookup(m.getCmix(), prng, _, _, err = Lookup(m.messenger, udContact, callback, uid, p)
grp, udContact, callback, uid, p)
if err != nil { if err != nil {
t.Errorf("Lookup() returned an error: %+v", err) t.Errorf("Lookup() returned an error: %+v", err)
} }
......
...@@ -71,7 +71,7 @@ func TestManager_Search(t *testing.T) { ...@@ -71,7 +71,7 @@ func TestManager_Search(t *testing.T) {
CmixParams: cmix.GetDefaultCMIXParams(), CmixParams: cmix.GetDefaultCMIXParams(),
} }
_, _, err = Search(m.getCmix(), m.getEventReporter(), prng, m.messenger.GetE2E().GetGroup(), _, _, err = Search(m.messenger,
udContact, callback, factList, p) udContact, callback, factList, p)
if err != nil { if err != nil {
t.Fatalf("Search() returned an error: %+v", err) t.Fatalf("Search() returned an error: %+v", err)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment