Fix test
This commit is contained in:
parent
d4484f3a4b
commit
7a55f67f47
|
@ -86,7 +86,7 @@ class WC_Test_Shortcode_Products extends WC_Unit_Test_Case {
|
||||||
|
|
||||||
// products shortcode with attributes.
|
// products shortcode with attributes.
|
||||||
$shortcode2 = new WC_Shortcode_Products( array(
|
$shortcode2 = new WC_Shortcode_Products( array(
|
||||||
'orderby' => 'id',
|
'orderby' => 'ID',
|
||||||
'order' => 'DESC',
|
'order' => 'DESC',
|
||||||
) );
|
) );
|
||||||
$expected2 = array(
|
$expected2 = array(
|
||||||
|
@ -94,7 +94,7 @@ class WC_Test_Shortcode_Products extends WC_Unit_Test_Case {
|
||||||
'post_status' => 'publish',
|
'post_status' => 'publish',
|
||||||
'ignore_sticky_posts' => true,
|
'ignore_sticky_posts' => true,
|
||||||
'no_found_rows' => true,
|
'no_found_rows' => true,
|
||||||
'orderby' => 'id',
|
'orderby' => 'ID',
|
||||||
'order' => 'DESC',
|
'order' => 'DESC',
|
||||||
'posts_per_page' => '-1',
|
'posts_per_page' => '-1',
|
||||||
'meta_query' => $meta_query,
|
'meta_query' => $meta_query,
|
||||||
|
|
Loading…
Reference in New Issue