pub fn finish_outside_store(
connection: &Connection,
id: OperationId,
listing: OutcomeListing<'_>,
) -> Result<(), DbError>Expand description
End the operation id on connection, a test’s connection outside any
store, with the outcome listing holds. For an operation that
coven_operations lists already, the function sets its outcome, as
finish_with_outcome does. For one it doesn’t list, the function lists
the outcome under kind first, as list_outcome does when a refusal
ends an invite. The function then deletes the operation’s pending record
and its journal row, as finish does. Outside a store no operation
holds a claim, so the function checks none.