Commit Graph

1656 Commits

Author SHA1 Message Date
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
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
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
Mike Jolley 9d381d456b Remove simplify commerce gateway 2019-01-10 12:01:27 +00:00
Rodrigo Primo 519886838c
Merge pull request #21969 from woocommerce/add/21964
Add woocommerce_valid_location_types filter
2019-01-09 17:02:20 -02:00
Rodrigo Primo 8b129a89bf phpcs fixes 2019-01-09 16:33:38 -02:00
Will Gorham ec9d1d9402 Tests phpcs 2019-01-09 13:31:51 -05:00
Will Gorham 56fa520b8e Tests for get_shipping_continents() 2019-01-09 13:31:30 -05:00
Mike Jolley 0620389e46
Merge pull request #22266 from woocommerce/e2e-update-db
Update e2e tests database to WP 5.0.1 and WC 3.5.2
2019-01-09 12:14:47 +00:00
Mike Jolley ade1021eff
Merge pull request #22205 from woocommerce/fix/22200
Introduce wc_is_webhook_valid_status
2019-01-08 15:32:57 +00:00
Mike Jolley 9a37852bee
Merge pull request #21438 from woocommerce/fix/20997
Unit tests for testing inclusive calculations
2019-01-08 15:31:35 +00:00
Mike Jolley 9644241cef update from master 2019-01-08 14:51:05 +00:00
Mike Jolley 6dba8f3b05
Merge pull request #21498 from liquidweb/feature/sanitize-order-id-tests
Add tests for wc_sanitize_order_id()
2019-01-07 12:46:11 +00:00
JeroenSormani f4775ccd90 Use shipping method instead of property through magic + doc return statements 2019-01-04 12:41:38 +00:00
Claudiu Lodromanean 2f82039869
Merge pull request #21938 from Prospress/fix/21935
Unescape imported escaped CSV formulas in product attributes
2019-01-02 11:59:39 -08:00
Ron Rennick 5dac4075b2 phpcs sniff fixes for customers.php 2018-12-27 11:18:22 -04:00
Ron Rennick bd65e65285 update customer unit test 2018-12-27 11:02:28 -04:00
Rodrigo Primo c6a0c32427 Merge branch 'master' into split-travis-build-job 2018-12-19 11:09:46 -02:00
Rodrigo Primo ee51edad22 Update e2e tests database to WP 5.0.1 and WC 3.5.2 2018-12-19 13:00:55 +00:00