require.NoError(t,integrationDB.QueryRowContext(ctx,"SELECT COUNT(*) FROM ops_error_logs WHERE request_id IN ('batch-ops-1', 'batch-ops-2')").Scan(&count))
require.NoError(t,integrationDB.QueryRowContext(ctx,"SELECT COUNT(*) FROM scheduler_outbox WHERE event_type = $1",service.SchedulerOutboxEventAccountChanged).Scan(&count))
require.NoError(t,integrationDB.QueryRowContext(ctx,"SELECT COUNT(*) FROM scheduler_outbox WHERE event_type = $1",service.SchedulerOutboxEventAccountChanged).Scan(&count))
require.NoError(t,integrationDB.QueryRowContext(ctx,"SELECT COUNT(*) FROM scheduler_outbox WHERE event_type = $1",service.SchedulerOutboxEventAccountLastUsed).Scan(&count))