phpcs for report-stock-stats.php

This commit is contained in:
Ron Rennick 2019-02-14 19:06:11 -04:00
parent 7910e76d8c
commit 8ce7af9f61
1 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ class WC_Tests_API_Reports_Stock_Stats extends WC_REST_Unit_Test_Case {
$in_stock->save();
}
$request = new WP_REST_Request( 'GET', $this->endpoint );
$request = new WP_REST_Request( 'GET', $this->endpoint );
$response = $this->server->dispatch( $request );
$reports = $response->get_data();
@ -94,7 +94,7 @@ class WC_Tests_API_Reports_Stock_Stats extends WC_REST_Unit_Test_Case {
$backorder_stock->set_stock_status( 'onbackorder' );
$backorder_stock->save();
$request = new WP_REST_Request( 'GET', $this->endpoint );
$request = new WP_REST_Request( 'GET', $this->endpoint );
$response = $this->server->dispatch( $request );
$reports = $response->get_data();