Fix compile errors in integration tests

This commit is contained in:
jaina heartles 2022-12-18 05:58:48 -08:00
parent 1d65984323
commit 64bbb7dae9
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ test "create community" {
defer conn.close();
const host = "fedi.example.com";
const community = try conn.createCommunity("https://" ++ host);
const community = try conn.createCommunity("https://" ++ host, null);
try std.testing.expectEqual(api.Community.Scheme.https, community.scheme);
try std.testing.expectEqual(api.Community.Kind.local, community.kind);
@ -96,7 +96,7 @@ test "create community and transfer to new owner" {
var conn = try src.connectToken(admin_host, root_login.token, alloc);
defer conn.close();
const community = try conn.createCommunity("https://" ++ host);
const community = try conn.createCommunity("https://" ++ host, null);
const invite = try conn.createInvite(.{ .to_community = community.id, .kind = .community_owner });
break :blk try util.deepClone(alloc, invite);
};