From 64bbb7dae9d225864d795dc0eb9d64a8e38ef06a Mon Sep 17 00:00:00 2001 From: jaina heartles Date: Sun, 18 Dec 2022 05:58:48 -0800 Subject: [PATCH] Fix compile errors in integration tests --- tests/api_integration/lib.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); };