Update tests/legacy/unit-tests/util/class-wc-tests-wc-query.php

Fix small coding standards issue.

Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
This commit is contained in:
Néstor Soriano 2020-07-30 16:17:05 +02:00 committed by GitHub
parent 86c88f1750
commit e44154bf6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -526,7 +526,7 @@ class WC_Tests_WC_Query extends WC_Unit_Test_Case {
* @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();