Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice when running unit tests #334

Closed
martynmjones opened this issue Nov 24, 2023 · 0 comments · Fixed by #335
Closed

Notice when running unit tests #334

martynmjones opened this issue Nov 24, 2023 · 0 comments · Fixed by #335

Comments

@martynmjones
Copy link
Contributor

Describe the bug:

Running tests with the latest version of WooCommerce (8.3.1) is triggering a notice in console:

Notice: Function FeaturesController::get_compatible_plugins_for_feature was called incorrectly. FeaturesController::get_compatible_plugins_for_feature should not be called before the woocommerce_init action

Steps to reproduce:

  1. Run unit tests with the latest version of WooCommerce
  2. See warning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant