diff --git a/roomdb/sqlite/invites_test.go b/roomdb/sqlite/invites_test.go index 81193ea4..69bc1280 100644 --- a/roomdb/sqlite/invites_test.go +++ b/roomdb/sqlite/invites_test.go @@ -165,7 +165,10 @@ func TestInvites_BypassInvitestToken(t *testing.T) { tr := repo.New(testRepo) // fake feed for testing, looks ok at least - newMember := refs.FeedRef{ID: bytes.Repeat([]byte("acab"), 8), Algo: refs.RefAlgoFeedSSB1} + newMember, err := refs.NewFeedRefFromBytes(bytes.Repeat([]byte("acab"), 8), refs.RefAlgoFeedSSB1) + if err != nil { + t.Error(err) + } token := "magic token"