Rodrigo Primo
656356530a
Use setUp() method in WC_Customer_Download() tests to remove code duplication
2018-01-22 14:43:28 -02:00
Mike Jolley
8ffa1c2d36
Merge pull request #18551 from liquidweb/standards/test-cleanup
...
Coding standards cleanup, primarily for the coupon unit tests
2018-01-22 15:45:38 +00:00
Mike Jolley
6389f1af9a
Merge branch 'fix-18452'
2018-01-22 15:43:32 +00:00
Mike Jolley
02ebd8f2ee
Coding standards
2018-01-22 15:43:23 +00:00
Boro Sitnikovski
af9441fea5
Add action to hook onto for order recalculation
2018-01-22 15:53:42 +01:00
Mike Jolley
b9a4a342e6
Remove the lone price/label/quantity class in grouped template
...
Closes #18542
2018-01-22 14:27:46 +00:00
Mike Jolley
a8957bd7a3
Strip currency
2018-01-22 14:13:08 +00:00
Mike Jolley
3ce51d9791
JSON context
2018-01-22 14:11:43 +00:00
Mike Jolley
5bd786703e
Run sanitize_callback
2018-01-22 14:09:56 +00:00
Rodrigo Primo
9eeb4cd0bd
Add assertion to check WC_Customer_Download_Data_Store::get_downloads() when called with the 'return' param set to 'ids'
2018-01-22 11:01:00 -02:00
Rodrigo Primo
6bb79681b9
Fix PHPCS violations in class-wc-tests-customer-download.php
2018-01-22 10:59:09 -02:00
Mike Jolley
304ece0a9b
phpcs
2018-01-22 12:06:31 +00:00
Mike Jolley
2298f491d1
phpcs
2018-01-22 11:33:15 +00:00
Mike Jolley
96db283ae3
phpcs
2018-01-22 11:03:13 +00:00
Mike Jolley
a205eadb7e
sanitize_callback
2018-01-22 10:59:25 +00:00
Mike Jolley
1ab8d795f6
phpcs
2018-01-22 10:57:55 +00:00
Mike Jolley
b82dbb6354
Update fragment when removing from cart
...
Closes #18548
2018-01-22 10:50:57 +00:00
Steve Grunwell
183c1e9f9f
Add 'public' visibility declarations to coupon test methods
2018-01-22 04:13:13 +00:00
Steve Grunwell
553aede081
Use strict comparison in test_wc_coupons_enabled()
2018-01-22 04:11:02 +00:00
Steve Grunwell
031469f643
Remove an unused variable in the test
2018-01-22 04:10:38 +00:00
Steve Grunwell
21771ebbd3
Ensure that WP_Coupon instances are instantiated with parentheses
2018-01-22 04:10:14 +00:00
Steve Grunwell
7cb8f46b0a
*WHITESPACE ONLY* Equal sign and arrow alignment
2018-01-22 04:06:42 +00:00
Steve Grunwell
2ffb8c8481
Exclude tests/e2e-tests/ from the PEAR.Functions.FunctionCallSignature.EmptyLine sniff, or risk a ton of 'Empty lines are not allowed in multi-line function calls' errors.
2018-01-22 03:42:05 +00:00
Steve Grunwell
0766ed6ff7
Fix (or whitelist) coding standards violations in the test bootstrap file
2018-01-22 03:34:13 +00:00
Steve Grunwell
bb5417c102
require_once is a language construct, not a function, and thus doesn't require parentheses.
2018-01-22 03:24:52 +00:00
Steve Grunwell
3f7034602f
Don't enforce filename or inline commenting standards against the tests/ directory
2018-01-22 03:23:48 +00:00
Shohei Tanaka
e05a3723d2
Correction of English spelling of prefectures
...
Correction of English spelling of prefectures and addition of explanatory text.
Reference site
https://en.wikipedia.org/wiki/Prefectures_of_Japan
http://www.post.japanpost.jp/int/use/writing/ems.html
* please check [tokyo] spell at image for EMS.
I will edit the prefectures on translate file at translate.wordpress.org.
2018-01-22 06:23:30 +09:00
Paul Dechov
0eebd2b72a
Update payment gateway default enabled state in tests
2018-01-19 17:42:17 -05:00
Claudiu Lodromanean
62c4cbb0c8
Merge pull request #18487 from woocommerce/fix/18476
...
Fix tab corner offset
2018-01-19 13:33:35 -08:00
Konstantin Kovshenin
9a496e5d88
Helper: Fix some code problems in the connection prompt.
...
* Use `wc_get_screen_ids()` instead of hard-coding a list.
* Use the `$strict` param in `in_array()`
* Run the WooCommerce string through l10n to make sure we target the correct screen in non-English installs
2018-01-19 20:58:36 +03:00
Mike Jolley
2e88b98068
border box to fix 2012
2018-01-19 16:16:56 +00:00
Rodrigo Primo
1f39f7d633
Add filter to list of post_types used to build the query to copy _customer_user to post_author
2018-01-19 13:45:30 -02:00
Mike Jolley
aa87aa0fbd
phpcs
2018-01-19 15:42:48 +00:00
Mike Jolley
d1269ce74f
Add transient cache so we know if an order needs processing.
2018-01-19 15:14:00 +00:00
Mike Jolley
24efb439fb
Order items should only save changes.
2018-01-19 14:36:08 +00:00
Rodrigo Primo
89119f89ff
Merge pull request #18529 from bsessions85/fix/e2e-CI-branch
...
Update install script to account for forked branch
2018-01-19 11:38:06 -02:00
Mike Jolley
70e92302f5
Refactor woocommerce_wp_select so it could be used for a multiselect
2018-01-19 13:36:14 +00:00
Mike Jolley
f6e0593d47
Prevent grouped products showing when the type is variable
2018-01-19 12:20:27 +00:00
Mike Jolley
ff7716509e
Merge pull request #18532 from woocommerce/fix/18527-numeric-username-lookup
...
Ajax customer search to cater for numeric usernames
2018-01-19 10:36:26 +00:00
Gerhard Potgieter
15e77b30a1
Merge pull request #18500 from woocommerce/tweak/pay-order-stock-filter
...
Allow stock to be overriden by filter when paying for orders
2018-01-19 10:15:58 +02:00
Gerhard Potgieter
4ef8251750
Merge pull request #18491 from woocommerce/update/helper-text
...
Updates Helper text to be correct
2018-01-19 10:13:15 +02:00
Gerhard Potgieter
8e6afdfdc7
Fix indentation
2018-01-19 09:57:27 +02:00
Gerhard Potgieter
b495e803e8
Reworks the ajax user lookup so it caters for numeric usernames without affecting performance of lookups by ID.
2018-01-19 09:52:05 +02:00
Paul Dechov
54fa85f388
Disable all payment gateways by default
...
Switches defaults for Check payments and PayPal Standard to 'no', so that no payment gateways are enabled by default before running through setup wizard.
2018-01-19 02:23:55 -05:00
Steve Grunwell
4d6a0ecb82
Merge branch 'master' into feature/post-system-status-tool-hook
2018-01-18 21:54:47 +00:00
Brent Sessions
a01270f392
Rearranging some variables
2018-01-18 12:36:22 -08:00
Brent Sessions
45bf9d6805
Update install script to account for forked branch
2018-01-18 12:26:46 -08:00
Rodrigo Primo
250b94b0ce
Merge pull request #18524 from woocommerce/fix/18510
...
Saving taxes should invalidate caches.
2018-01-18 16:55:55 -02:00
Steve Grunwell
6aeba1d72a
Instead of testing the output of the message, verify that the postmeta fields are being re-created.
2018-01-18 18:52:57 +00:00
Rodrigo Primo
257feb63bd
Fix doc typo
2018-01-18 16:50:27 -02:00