Fixed Test

This commit is contained in:
Christopher Allford 2024-09-12 06:54:54 -07:00
parent 47d8a139db
commit c35a64721e
No known key found for this signature in database
GPG Key ID: 80E44C778F08A88E
1 changed files with 7 additions and 4 deletions

View File

@ -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',
),
) )
); );