Skip to content

Commit

Permalink
Update tests/legacy/unit-tests/util/class-wc-tests-wc-query.php
Browse files Browse the repository at this point in the history
Fix small coding standards issue.

Co-authored-by: Claudio Sanches <[email protected]>
  • Loading branch information
Konamiman and claudiosanches authored Jul 30, 2020
1 parent 86c88f1 commit e44154b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/legacy/unit-tests/util/class-wc-tests-wc-query.php
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ public function test_adjust_posts_count_when_there_are_no_posts() {
* @testdox adjust_posts should return the input unmodified if the posts do not represent products.
*/
public function test_adjust_posts_count_when_the_posts_are_not_products() {
list($sut, $products) = $this->setup_adjust_posts_test( true, true, 'page' );
list( $sut, $products ) = $this->setup_adjust_posts_test( true, true, 'page' );

$products[0]->set_stock_status( 'outofstock' );
$products[0]->save();
Expand Down

0 comments on commit e44154b

Please sign in to comment.