mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-07 18:07:47 +08:00
fix(admin): make bulk wallet batches idempotent
This commit is contained in:
@@ -485,6 +485,14 @@ impl AppState {
|
||||
self
|
||||
}
|
||||
|
||||
pub(crate) fn fail_auth_wallet_batch_failure_record_for_tests(
|
||||
mut self,
|
||||
user_id: impl Into<String>,
|
||||
) -> Self {
|
||||
self.auth_wallet_batch_failure_record_error_for_tests = Some(user_id.into());
|
||||
self
|
||||
}
|
||||
|
||||
pub(crate) fn with_admin_wallet_payment_orders_for_tests<I>(mut self, orders: I) -> Self
|
||||
where
|
||||
I: IntoIterator<Item = crate::AdminWalletPaymentOrderRecord>,
|
||||
|
||||
Reference in New Issue
Block a user