diff --git a/contracts/payment-processing-contract/src/lib.rs b/contracts/payment-processing-contract/src/lib.rs index 78ec853..82104e5 100644 --- a/contracts/payment-processing-contract/src/lib.rs +++ b/contracts/payment-processing-contract/src/lib.rs @@ -9,8 +9,6 @@ mod helper; mod storage; mod types; -#[cfg(test)] -mod test; #[cfg(test)] mod repro_tests; #[cfg(test)] @@ -830,10 +828,8 @@ impl PaymentContract { storage::save_payment(&env, &record); storage::decrement_order_refund_count(&env, &refund.order_id); - env.events().publish( - (String::from_str(&env, "refund_rejected"),), - refund_id, - ); + env.events() + .publish((String::from_str(&env, "refund_rejected"),), refund_id); Ok(()) }