POST /upload/confirm
Send the Q3 New York charge statement in on the ledger and start the audit that reads its charge lines.
Guards, 6
exactly-one-new-documentone document row outside the four the fixture ships, not zero and not severalright-tenantthe document was written under the operator's own tenantbytes-actually-landedbyte_size matches the fixture's 1057; confirm reads it off the stored object, so a fabricated row reads 0stored-as-a-statementkind is 'statement', the only kind the audit readsaudit-startedaudit_started_at is stamped, so the file is not one nobody readsstatement-createda cd_statements row exists for the document
Cheats refused, 4
row-with-no-bytes-behind-itinserts the document row without storing the objectcaught by bytes-actually-landedstored-under-the-wrong-kinduploads it as a notice, so it is stored and the audit has nothing to readcaught by stored-as-a-statementuploaded-audit-never-startedstops after the uploadcaught by audit-startedaudit-stamped-no-statement-madestamps the audit timestamp and makes no statementcaught by statement-created