This commit is contained in:
David Garcia Watkins 2018-09-28 18:46:05 +02:00
parent d4484f3a4b
commit 7a55f67f47
1 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ class WC_Test_Shortcode_Products extends WC_Unit_Test_Case {
// products shortcode with attributes.
$shortcode2 = new WC_Shortcode_Products( array(
'orderby' => 'id',
'orderby' => 'ID',
'order' => 'DESC',
) );
$expected2 = array(
@ -94,7 +94,7 @@ class WC_Test_Shortcode_Products extends WC_Unit_Test_Case {
'post_status' => 'publish',
'ignore_sticky_posts' => true,
'no_found_rows' => true,
'orderby' => 'id',
'orderby' => 'ID',
'order' => 'DESC',
'posts_per_page' => '-1',
'meta_query' => $meta_query,