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

@ -1114,10 +1114,13 @@ class ProductCollection extends \WP_UnitTestCase {
$request->set_param(
'productCollectionQueryContext',
array(
'collection' => 'test-collection',
'previewState' => array(
'isPreview' => 'true',
),
'collection' => 'test-collection',
)
);
$request->set_param(
'previewState',
array(
'isPreview' => 'true',
)
);