╭──────────╮ │← previous│ ╰──────────╯ ╭ changed ─────────╮ │src/test/event.zig│ ╰──────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │919 │ │920 // the password was correctly edited │ │921 try std.testing.expectEqualStrings(events_to_consume[1].data.user.password_hash, user.user.password_hash); │ │922 + │ │923 + // get the map of repos │ │924 + const event_id_to_repo_cursor = try haxy_moment.getCursor(hash.hashInt(repo_opts.hash, "event-id->repo")) orelse return error.NotFound;│ │925 + const event_id_to_repo = try Repo.DB.HashMap(.read_only).init(event_id_to_repo_cursor); │ │926 + │ │927 + // get the repo out of the map │ │928 + const repo_cursor = try event_id_to_repo.getCursor(hash.hashInt(repo_opts.hash, &repo_event_id)) orelse return error.NotFound; │ │929 + const repo_map = try Repo.DB.HashMap(.read_only).init(repo_cursor); │ │930 + const repo_event = try evt.EventData.read(Repo.DB, repo_opts.hash, arena.allocator(), repo_map, .repo); │ │931 + │ │932 + try std.testing.expectEqualSlices(u8, &user_event_id, repo_event.repo.user_id); │ │933 + try std.testing.expectEqualStrings("ziglings", repo_event.repo.name); │ │934 } │ │935 } │ │936 │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯