Skip to content

Commit

Permalink
phpcs for reports-customers-stats.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rrennick committed Feb 14, 2019
1 parent df767ff commit d1e2fee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/api/reports-customers-stats.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function setUp() {
*
* @since 3.5.0
*/
public function _test_register_routes() {
public function test_register_routes() {
$routes = $this->server->get_routes();

$this->assertArrayHasKey( $this->endpoint, $routes );
Expand Down Expand Up @@ -156,8 +156,8 @@ public function test_get_reports() {
// 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 );
Expand Down

0 comments on commit d1e2fee

Please sign in to comment.