Skip to content

Commit

Permalink
phpcs for product-reviews.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rrennick committed Feb 14, 2019
1 parent 65dfd65 commit 10dbe8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/api/product-reviews.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class WC_Tests_API_Product_Reviews extends WC_REST_Unit_Test_Case {
public function setUp() {
parent::setUp();

$this->user = $this->factory->user->create(
$this->user = $this->factory->user->create(
array(
'role' => 'administrator',
)
Expand All @@ -35,7 +35,7 @@ public function setUp() {
*/
public function test_product_review_embed() {
wp_set_current_user( $this->user );
$product = WC_Helper_Product::create_simple_product();
$product = WC_Helper_Product::create_simple_product();
WC_Helper_Product::create_product_review( $product->get_id() );

$request = new WP_REST_Request( 'GET', '/wc/v4/products/reviews' );
Expand Down

0 comments on commit 10dbe8a

Please sign in to comment.