This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Product Query [3]: [Tests] Unit test that queries are merged correctly by the ProductQuery
class
#7627
Labels
block-type: product-query
Issues related to/affecting all product-query variations.
The
ProductQuery
class is responsible for taking all the settings and making the correct query. As we add settings and ways to mix and match them, the logic doing the merging becomes more complex and brittle. We should have at least good coverage of this part of the logic with unit tests.Eventually, with woocommerce/woocommerce#42534 we aim for full unit test coverage of the class.
The text was updated successfully, but these errors were encountered: