added failing test

This commit is contained in:
Mike Jolley 2019-04-23 11:48:24 +01:00
parent ea5b4a0b2d
commit a4ba20681e
1 changed files with 14 additions and 0 deletions

View File

@ -282,6 +282,20 @@ class WC_Tests_WC_Query extends WC_Unit_Test_Case {
'meta_key' => '',
),
),
array(
'orderby' => array(
'price',
'date',
),
'order' => array(
'DESC',
),
'expected' => array(
'orderby' => 'price',
'order' => 'DESC',
'meta_key' => '',
),
),
);
foreach ( $data as $test ) {