added failing test
This commit is contained in:
parent
ea5b4a0b2d
commit
a4ba20681e
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in New Issue