Skip to main content

test_synced_tables_with_user_and_host_blobs

Function test_synced_tables_with_user_and_host_blobs 

Source
pub fn test_synced_tables_with_user_and_host_blobs(
    photo_decl: BlobDecl,
    cover_decl: BlobDecl,
) -> Vec<SyncedTable>
Expand description

The synthetic store’s schema and Database constructors, which the database layer owns and its own tests open directly. test_synced_tables with TWO blob-bearing children of the gated notes root: note_photos per photo_decl (a release file, user-provided) and note_covers per cover_decl (a host-provided asset). Both inherit the notes gate, so a make_remote of a note carries both — the user-provided file through the durable outbox and the host-provided cover through the inline push — exercising the per-provenance split in one subtree.