Fixed Test
This commit is contained in:
parent
47d8a139db
commit
c35a64721e
|
@ -1115,9 +1115,12 @@ class ProductCollection extends \WP_UnitTestCase {
|
||||||
'productCollectionQueryContext',
|
'productCollectionQueryContext',
|
||||||
array(
|
array(
|
||||||
'collection' => 'test-collection',
|
'collection' => 'test-collection',
|
||||||
'previewState' => array(
|
)
|
||||||
|
);
|
||||||
|
$request->set_param(
|
||||||
|
'previewState',
|
||||||
|
array(
|
||||||
'isPreview' => 'true',
|
'isPreview' => 'true',
|
||||||
),
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue