Mike Jolley
cc8e516f7a
Merge pull request #22786 from woocommerce/improve/user-registration
...
Improve user's display_name generation during checkout
2019-02-27 12:55:56 +00:00
nishitlangaliya
ee621eec8a
fix: filter prefix changed and unit test added for fn:wc_get_product_stock_status_options
2019-02-25 19:03:57 +05:30
Claudio Sanches
79847ccb93
Fixed coding standards
2019-02-20 16:30:46 -03:00
Claudio Sanches
3ac5f32a8b
Updated tests for wc_create_new_customer
2019-02-20 16:29:10 -03:00
Mike Jolley
7def966e4f
Impoved JSON handling
2019-02-20 12:00:47 +00:00
Mike Jolley
07eadfeb72
Merge pull request #22760 from woocommerce/performance/webhook-loading
...
Performance: webhook loading
2019-02-19 09:58:06 +00:00
Mike Jolley
2529cd60cd
Merge pull request #22731 from woocommerce/update/21952
...
Prevent webhooks for drafts and correct create vs updated for manual orders
2019-02-19 09:50:51 +00:00
Claudio Sanches
c01e334500
Fixed coding standards
2019-02-18 17:59:34 -03:00
Mike Jolley
4fd2a9f77e
Update from master
2019-02-18 15:04:58 +00:00
Mike Jolley
84299ff5ed
Update the tests
2019-02-13 17:56:41 +00:00
Mike Jolley
0e21b3f4ce
Tests
2019-02-07 20:35:45 +00:00
Mike Jolley
889cf64ac4
Merge branch 'performance/wc-get-product-class'
2019-02-07 13:34:18 +00:00
Mike Jolley
4b485eba13
Fixed unit tests
2019-02-06 21:00:07 +00:00
Claudio Sanches
82c1f8f81b
Merge pull request #22634 from outis/fix-sed-pw
...
Fix sed pw
2019-02-06 14:43:32 -02:00
Mike Jolley
72314f9dbc
Contains was backwards
2019-02-05 14:21:06 +00:00
Mike Jolley
cafe8b6b57
Tests check the image URL is contained rather than exact string
2019-02-05 14:11:07 +00:00
Mike Jolley
34dbf96847
Merge pull request #22410 from woocommerce/remove/simplify-commerce
...
Remove simplify commerce gateway from core
2019-02-04 11:23:23 +00:00
Galen Wright-Watson
00610db7fe
Update: docmented install script's handling of metacharacters in passwords.
2019-02-01 14:45:29 -08:00
Galen Wright-Watson
8627fc39b9
Update: install script-escape forward & backward slashes and ampersand in supplied password.
2019-01-31 13:09:24 -08:00
Mike Jolley
1e3e5a4528
Merge pull request #22580 from woocommerce/fix/22515
...
recalculate coupons after adding coupon to order
2019-01-31 14:38:59 +00:00
Mike Jolley
133d108bd8
Merge pull request #22269 from Prospress/fix/22247
...
convert user creation GMT datestamp to local datetime in API
2019-01-31 12:56:40 +00:00
Toby Robles
59d4a81f1a
Peruvian currency updated
2019-01-30 10:43:52 -05:00
Ron Rennick
28710a522e
phpcs sniff fixes for orders.php
2019-01-27 20:57:58 -04:00
Ron Rennick
d888f456f8
remove line item subtotal adjustment from api coupon unit test
2019-01-27 20:49:02 -04:00
Galen Wright-Watson
baeccdc547
Fix: #22577-"bad flag in substitute command" if password has a '/' character. Cause: unescaped special characters (forward slash) in variable get interpreted as part of sed script. Soln: escape forward slashes when interpolating into sed script.
2019-01-26 23:53:02 -08:00
Mike Jolley
20330b01bd
Merge pull request #22531 from rellect/fix_ssl_check
...
Fix ssl check in case shop page no longer exists
2019-01-23 20:18:43 +00:00
Refael Iliaguyev
398bbe3754
sniff fixes
2019-01-23 17:26:17 +02:00
Refael Iliaguyev
8f0f22c11b
Fix ssl check in case shop page does not exists.
2019-01-23 16:08:13 +02:00
Luigi
548b00c660
Improve the way we do queries ( #22043 )
...
* Improve the way we do queries
* PHP legacy compatible
* Update aproach to filter queries with empty values
* Fixing Unit Tests
* Moving Unit Test to its the correct test function
* Filter missing the new param, allow_empty, also simplifiying unit test.
* Helper function to create counpon does not support empty coupon codes
* Helper function does not need to allot empty search
* Wrong code standard
* Fixing Code Standard Unit Test
2019-01-23 13:46:32 +00:00
Mike Jolley
99f663ad5c
Merge pull request #22131 from willgorham/improve-shipping-zone-continents
...
Improve shipping zone continents [Fixes #22130 ]
2019-01-23 13:27:16 +00:00
Ron Rennick
89ab2748da
update unit test to work when timezone_string is not set, add timezone assertions
2019-01-22 16:58:05 -04:00
Mike Jolley
380201be33
Merge pull request #22417 from woocommerce/fix/21175
...
Sort countries using new ascii comparison function
2019-01-22 14:47:41 +00:00
Mike Jolley
7ac26ce893
Merge pull request #22518 from Prospress/fix/21779_redux
...
Fix/21779 redux
2019-01-22 13:29:40 +00:00
claudiulodro
cdfe34f79a
skip couple tests on old versions
2019-01-21 10:02:55 -08:00
Mike Jolley
6367d19615
phpcs
2019-01-21 08:11:40 -08:00
Ron Rennick
ab6012fa3f
move test parameters with calculations to separate lines
2019-01-18 23:32:47 -04:00
Ron Rennick
6daf89ad6e
add descriptions to report sale by date tests
2019-01-18 23:27:11 -04:00
Ron Rennick
2bb2475e92
phpcs sniff fixes for class-wc-tests-report-sales-by-date.php
2019-01-18 23:26:45 -04:00
Brent Shepherd
739af008c6
Fix test_wc_load_webhooks_status_and_limit()
...
As the status is being explicitly passed to wc_load_webhooks(), it
will load webhooks with that status, not just active.
2019-01-18 14:30:35 +10:00
Brent Shepherd
ed55a3976a
Test against $wp_filter instead of has_filter()
...
Because we don't have the same WC_Webhook instance as used in
wc_load_webhooks(), so it's impossible to check if the same
object's process() method is attached as a callback.
2019-01-18 14:30:35 +10:00
Brent Shepherd
9fdbb124ae
Add $limit param to wc_load_webhooks()
...
And the corresponding data stores. Defaults to null, meaning do not
limit, for backward compatibility.
2019-01-18 14:30:35 +10:00
Brent Shepherd
67bf101aaf
Add $status param to wc_load_webhooks()
...
And the corresponding data stores. Defaults to '', meaning do not
load only webhooks with a specific status. This maintains backward
compatibility. However, the call to wc_load_webhooks() within
WooCommerce::load_webhooks() can now only load active webhooks, as
they are the only ones that should be enqueued.
2019-01-18 14:29:34 +10:00
Gerhard
cadcad2c6a
Add the -s param to the PHPCS command to see the rules it is failing again when running the precommit hook.
2019-01-17 13:23:14 +02:00
Brent Shepherd
8ee3e8a6e9
Add WC_Tests_Webhook_Functions::create_webhook()
...
To make it reusable.
2019-01-17 15:12:29 +10:00
Claudiu Lodromanean
989865469e
Merge pull request #22416 from woocommerce/fix/21871
...
Incorrect rounding of multiple tax rates per location
2019-01-16 09:32:51 -08:00
unknown
883ecc3ca4
removed variable that was not being used
2019-01-11 19:19:15 -05:00
Gerhard
c24faa8ab4
Use array_values when checking assertSame for sort comparison of arrays.
2019-01-11 14:02:54 +02:00
Gerhard
0c3f5261c7
Add unit tests for wc_ascii_uasort_comparison
2019-01-11 13:48:37 +02:00
Mike Jolley
a4a421a86b
Failing test case for the issue
2019-01-11 11:34:47 +00:00
Mike Jolley
1815928208
Merge branch 'master' into pr/21217
2019-01-10 13:10:11 +00:00