mirror of
https://github.com/block/buzz.git
synced 2026-10-28 13:01:10 +00:00
Fix invite restriction test fixture
Signed-off-by: seiler <seiler@squareup.com> Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -16,8 +16,15 @@ pub(super) mod postgres_tests {
|
||||
let owner = Keys::generate();
|
||||
state
|
||||
.db
|
||||
.add_relay_member(community, &owner.public_key().to_hex(), "owner", None)
|
||||
.add_relay_member(
|
||||
community,
|
||||
&owner.public_key().to_hex(),
|
||||
"owner",
|
||||
None,
|
||||
&state.relay_keypair,
|
||||
)
|
||||
.await
|
||||
.map(|write| write.outcome)
|
||||
.unwrap();
|
||||
(state, host, community, owner)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user