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

Add unit tests for src/Assets/Api.php specifically to test the script cache invalidation #42282

Open
opr opened this issue Jul 21, 2023 · 1 comment
Labels
focus: unit tests Related to PHP unit testing. status: stale Issues that have no had any activity for some time. team: Rubik Store API checkout endpoints, Mini-Cart, Cart and Checkout related issues

Comments

@opr
Copy link
Contributor

opr commented Jul 21, 2023

In woocommerce/woocommerce-blocks#10278 we added a check to invalidate the cache based on the site URL, version number, or plugin path. We should write PHP Unit tests to ensure this is working correctly.

@github-actions
Copy link
Contributor

This issue has been marked as stale because it has not seen any activity within the past 60 days. Our team uses this tool to help surface issues for review. If you are the author of the issue there's no need to comment as it will be looked at.

@github-actions github-actions bot added the status: stale Issues that have no had any activity for some time. label Sep 22, 2023
@senadir senadir added the team: Rubik Store API checkout endpoints, Mini-Cart, Cart and Checkout related issues label Nov 28, 2023
@nerrad nerrad added the focus: unit tests Related to PHP unit testing. label Nov 29, 2023
@ObliviousHarmony ObliviousHarmony transferred this issue from woocommerce/woocommerce-blocks Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus: unit tests Related to PHP unit testing. status: stale Issues that have no had any activity for some time. team: Rubik Store API checkout endpoints, Mini-Cart, Cart and Checkout related issues
Projects
None yet
Development

No branches or pull requests

3 participants