woocommerce/tests/unit-tests
Gerhard Potgieter b2ed079520 Manual orders coupon usage limits by email (#23775)
* Add functionality to wp-admin order to check for coupon usage based on email addresses, similar to how WC_Cart handles this seperately, included unit tests.

* Only do the coupon by email usage check if order is from a guest. Fix issue with unit test.
2019-05-27 11:45:29 -03:00
..
account Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
admin/reports Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
api Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
attributes Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
cart Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
core menu_order test 2019-04-24 10:45:33 +01:00
countries Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
coupon Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
crud Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
customer Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
discounts Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
exporter unpdate unit tests for product export 2018-12-13 13:54:51 -04:00
formatting Add logic to wc_let_to_num to handle non int values, added unit tests to cover these scenarios 2019-04-17 10:30:49 +02:00
gateways Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
geolocation Add geolocation::get_ip_address tests 2018-06-11 11:10:11 +02:00
importer Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
integrations Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
libraries Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
log Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
order Manual orders coupon usage limits by email (#23775) 2019-05-27 11:45:29 -03:00
order-items Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
payment-tokens Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
privacy Removed unnecessary parameter. Also removed from tests. 2018-06-07 21:25:13 +06:00
product Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
session Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
settings Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
setup Fix unit test for new scenarios 2019-05-16 16:26:34 +02:00
shipping-zones phpcs fixes 2019-01-09 16:33:38 -02:00
shortcodes Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
tax Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
templates Merge pull request #23535 from woocommerce/fix/23518 2019-05-10 10:43:28 +02:00
totals Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00
util Introducde wc_load_cart to dynamically load the cart, this allows for functionality outside of frontend to initialise the cart. 2019-05-22 12:24:31 +02:00
webhooks Merge pull request #22760 from woocommerce/performance/webhook-loading 2019-02-19 09:58:06 +00:00
widgets Fix PHPCS violations in tests/ using PHPCBF 2019-05-01 19:05:00 -03:00