diff --git a/app/Services/OrdersService.php b/app/Services/OrdersService.php index f6259a1a4..1568db430 100644 --- a/app/Services/OrdersService.php +++ b/app/Services/OrdersService.php @@ -1827,6 +1827,7 @@ public function refundOrder( Order $order, $fields ) description: __( 'The current credit has been issued from a refund.' ), details: [ 'order_id' => $order->id, + 'author' => Auth::id(), ] ); } diff --git a/tests/Traits/WithOrderTest.php b/tests/Traits/WithOrderTest.php index 1aa1296c3..0181fa172 100644 --- a/tests/Traits/WithOrderTest.php +++ b/tests/Traits/WithOrderTest.php @@ -2393,6 +2393,7 @@ protected function attemptRefundOrder( $productQuantity, $refundQuantity, $payme 'products' => $responseData[ 'data' ][ 'order' ][ 'products' ], ] ); + $response->dump(); $response->assertStatus( 200 ); $responseData = $response->json();