woocommerce/plugins/woocommerce-blocks/tests/php/StoreApi/Utilities
Thomas Roberts 00b20bdac7 Strip tags from exceptions that are converted from notices (https://github.com/woocommerce/woocommerce-blocks/pull/4005)
* Strip tags that are added to notices

* Add test to ensure HTML is stripped by convert_notices_to_exceptions

* Test function directly, rather than through validate_cart_items

* Apply correct formatting to tests/php/StoreApi/Utilities/NoticeHandler.php

Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>

Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
2021-03-29 10:51:12 +01:00
..
CartController.php Catch errors during cart validation (https://github.com/woocommerce/woocommerce-blocks/pull/3703) 2021-02-15 14:03:04 +00:00
NoticeHandler.php Strip tags from exceptions that are converted from notices (https://github.com/woocommerce/woocommerce-blocks/pull/4005) 2021-03-29 10:51:12 +01:00
ReserveStock.php Drop stock reservation when removing item from cart via the Store API (https://github.com/woocommerce/woocommerce-blocks/pull/3468) 2020-12-02 16:03:24 +00:00