diff --git a/tests/api_integration/lib.zig b/tests/api_integration/lib.zig index ea0fd5d..5f2184a 100644 --- a/tests/api_integration/lib.zig +++ b/tests/api_integration/lib.zig @@ -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); };