Paul Sealock
d968b95b53
Add opt in/out to settings page
2019-03-05 11:06:45 +13: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
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
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
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
Ron Rennick
e04b0fff31
use a more appropriate description for new installation tests
2018-12-18 16:28:49 -04:00
Ron Rennick
6079e1f541
ensure WP database is upgraded for current WP version
2018-12-18 16:02:57 -04:00
Ron Rennick
e2f34928d3
update checkout flow for 3.5.0
2018-12-18 14:23:11 -04:00
Ron Rennick
603dd8cfcd
remove redundant form update in cart page tests
2018-12-17 16:05:53 -04:00
Ron Rennick
3ab427f8bf
add config-theme.js to test that a functional supported theme is active
2018-12-17 15:42:20 -04:00
Ron Rennick
729e7083ae
move front end tests to front-end folder
2018-12-17 15:19:34 -04:00
Ron Rennick
a924c15dee
unpdate unit tests for product export
2018-12-13 13:54:51 -04:00
Gerhard
4852db1e45
PHPCS fixes
2018-12-12 10:38:43 +02:00
Gerhard
189f346c2e
Add unit tests for wc_is_webhook_valid_status
2018-12-12 10:33:52 +02:00
Rodrigo Primo
644f6b1cba
Use separate Travis build jobs to run e2e tests and PHPCS
...
This commit creates two new Travis build jobs, one to run the e2e tests and another to run PHPCS. Doing this, instead of running those two checks in the same build job as the PHP 7.2 unit tests, should make the total build time shorter and it should make it easier to see why the build failed.
2018-12-06 09:14:13 -02:00
Rodrigo Primo
f7bc3fb851
Merge pull request #21366 from birgire/unit-tests-count-asserting-21365
...
Use assertCount instead of assertEquals
2018-12-05 11:15:52 -02:00
claudiulodro
d1533261f5
Extra sanitizing around payment_method_title
2018-11-30 08:49:43 -08:00
Rodrigo Primo
8b85eee2d0
Ignore WP beta releases when setting WP_TESTS_TAG
...
This commit changes the regular expression used to determine the WP_TESTS_TAG variable to ignore WP beta releases otherwise install_test_suite() will fail to download the test suite. This is part of workaround to run WooCommerce unit tests using PHP 7.3 and WP 5.0 beta-5.
2018-11-20 14:43:38 -02:00
Gerhard
e4ba5c7f3f
Add unit tests for new woocommerce_valid_location_types filter.
2018-11-19 13:21:02 +02:00
Claudiu Lodromanean
900d3bad93
Merge pull request #21778 from woocommerce/fix/21426
...
Make get_on_sale_products not include non published parent results
2018-11-06 15:50:31 -05:00
claudiulodro
0fa1448cfe
Topic blacklist
2018-11-02 10:21:30 -07:00
Gerhard
0bb4ef713b
Add tests to make sure draft parent products are not included in the get_on_sale_products results
2018-11-01 12:13:47 +02:00