Skip to content

Commit

Permalink
Merge pull request #8 from cooldracula/fix-invite-test
Browse files Browse the repository at this point in the history
adjust newMember var to use known pattern
  • Loading branch information
cooldracula authored Nov 29, 2023
2 parents 684b37b + ce2c4cb commit ee55c59
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion roomdb/sqlite/invites_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit ee55c59

Please sign in to comment.