Removed setting empty query paras

This commit is contained in:
kidinov 2023-06-26 10:23:54 +02:00
parent 89d3a1ecee
commit 84bb1c91b8
1 changed files with 1 additions and 1 deletions

View File

@ -378,8 +378,8 @@ class WC_Admin_Tests_API_Reports_Customers extends WC_REST_Unit_Test_Case {
wp_set_current_user( $this->user );
WC_Helper_Reports::reset_stats_dbs();
// Test empty reports.
$request = new WP_REST_Request( 'GET', $this->endpoint );
$request->set_query_params();
$response = $this->server->dispatch( $request );
$reports = $response->get_data();