woocommerce/tests/legacy
Nestor Soriano 9142e27a19 Adjustments in WC_Query::adjust_posts_count
Two adjustments were needed:

- Adjust the count even when there's no nav filtering in the query.
  This is necessary to present the proper products count.
  even when the woocommerce_product_is_visible filter is used.
- Account for the case where $GLOBALS['wp_query']->posts
  returns objects instead of ids (for example when viewing
  a product page).
2020-07-28 08:55:55 +02:00
..
data Add unit test and a sample Woo plugin file 2020-05-01 22:47:08 +05:30
framework Refactor WC_Helper_Product by extracting duplicated code to methods. 2020-07-28 08:55:55 +02:00
includes Moved PHPUnit suite into tests/legacy 2020-04-24 13:53:40 -07:00
unit-tests Adjustments in WC_Query::adjust_posts_count 2020-07-28 08:55:55 +02:00
bootstrap.php Moved autoloading of `Automattic\WooCommerce\Testing\Tools` namespace into test bootstrap 2020-07-24 09:25:09 +02:00
classes-with-mockable-static-methods.php Code hacker resdesign for single-load of code files. 2020-06-02 19:06:53 +02:00
mockable-functions.php Code hacker resdesign for single-load of code files. 2020-06-02 19:06:53 +02:00