phpcs for reports-customers-stats.php

This commit is contained in:
Ron Rennick 2019-02-14 19:17:05 -04:00
parent e91f7f6d00
commit b69f8fdbf2
1 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ class WC_Tests_API_Reports_Customers_Stats extends WC_REST_Unit_Test_Case {
*
* @since 3.5.0
*/
public function _test_register_routes() {
public function test_register_routes() {
$routes = $this->server->get_routes();
$this->assertArrayHasKey( $this->endpoint, $routes );
@ -156,8 +156,8 @@ class WC_Tests_API_Reports_Customers_Stats extends WC_REST_Unit_Test_Case {
// Test name and last_order parameters.
$request->set_query_params(
array(
'search' => 'Jeff',
'last_order_after' => date( 'Y-m-d' ) . 'T00:00:00Z',
'search' => 'Jeff',
'last_order_after' => date( 'Y-m-d' ) . 'T00:00:00Z',
)
);
$response = $this->server->dispatch( $request );