From 849400cb75bf963136114cbedca210f0fa5124e6 Mon Sep 17 00:00:00 2001 From: Md Mahbub Rabbani Date: Fri, 15 Nov 2024 11:09:13 +0600 Subject: [PATCH] Update commments --- tests/php/src/Analytics/Reports/OrderQueryFilterTest.php | 1 - tests/php/src/Analytics/Reports/OrderStatsQueryFilterTest.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/php/src/Analytics/Reports/OrderQueryFilterTest.php b/tests/php/src/Analytics/Reports/OrderQueryFilterTest.php index 3e0bf3b67..75f32b7da 100644 --- a/tests/php/src/Analytics/Reports/OrderQueryFilterTest.php +++ b/tests/php/src/Analytics/Reports/OrderQueryFilterTest.php @@ -150,7 +150,6 @@ function ( $order, $context = 'seller' ) use ( $expected_data ) { $this->assertEquals( floatval( $sub_order->get_total() ), $order_data['total_sales'] ); foreach ( $expected_data as $key => $val ) { - // var_dump() $this->assertEquals( $val, $order_data[ $key ] ); } } diff --git a/tests/php/src/Analytics/Reports/OrderStatsQueryFilterTest.php b/tests/php/src/Analytics/Reports/OrderStatsQueryFilterTest.php index 56a13c324..ea10a0615 100644 --- a/tests/php/src/Analytics/Reports/OrderStatsQueryFilterTest.php +++ b/tests/php/src/Analytics/Reports/OrderStatsQueryFilterTest.php @@ -66,7 +66,7 @@ public function test_dokan_order_states_query_filter_hooks_are_order_stats_updat $mocking_methods = [ 'add_join_subquery', - // 'add_where_subquery', // For Coupon amount distribution. + // 'add_where_subquery', // For Coupon amount distribution to sub-orders issue. 'add_select_subquery_for_total', ];