Rodrigo Primo
18ee70918b
Fix PHPCS violations in tests/ using PHPCBF
...
This commit fixes all 1533 PHPCS errors that PHPCBF can fix automatically in the tests/ directory. Before this change there was a total of 3106 PHPCS errors in the WooCommerce repository and now there is 1573 errors.
2019-05-01 19:05:00 -03:00
Mike Jolley
9bf2081869
Merge pull request #23477 from woocommerce/fix/23466
...
Default category sorting order should be overwritten if defined by get_terms
2019-04-24 16:00:33 +01:00
Mike Jolley
8ffc4fca71
menu_order test
2019-04-24 10:45:33 +01:00
Mike Jolley
8fe68400be
name_num tests
2019-04-24 10:44:22 +01:00
Mike Jolley
3945aae94e
Test cases for sorting
2019-04-24 10:38:38 +01:00
Mike Jolley
a4ba20681e
added failing test
2019-04-23 11:48:24 +01:00
Mike Jolley
f306d3fc11
Merge pull request #23266 from woocommerce/fix/23234
...
Switch to subquery for sale product query
2019-04-18 12:36:22 +01:00
Mike Jolley
cafd81e6e5
Merge pull request #23329 from woocommerce/fix/23327
...
Non int value handling in wc_let_to_num
2019-04-18 11:30:57 +01:00
Mike Jolley
ceefe98bd0
Merge pull request #23297 from dkjensen/master
...
Remove tags from product titles when building PayPal request URL
2019-04-18 11:23:55 +01:00
Mike Jolley
b686150655
Merge pull request #23196 from woocommerce/fix/23195
...
Replace full stops before running through `parse_str`
2019-04-18 11:01:59 +01:00
Gerhard
8ca0bd7b4d
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
Timmy Crawford
e12e4aaa25
Merge pull request #23304 from woocommerce/fix/link-all-variations
...
[3.6] Fix logic in link all variations
2019-04-15 11:16:22 -07:00
Timmy Crawford
438d22762e
Merge pull request #23246 from franticpsyx/issue-23245
...
Introduce IN and NOT IN clauses in `WC_Product_Data_Store_CPT::search_products
2019-04-15 11:08:32 -07:00
Mike Jolley
6c6785c844
Merge pull request #23269 from marcochiesi/patch-1
...
Added validation for Italian postcodes
2019-04-15 14:10:01 +01:00
Mike Jolley
1504f8af3e
Merge pull request #23011 from Tofandel/patch-2
...
Improve the speed of the admin dashboard by only updating transients once per class
2019-04-15 14:03:31 +01:00
Mike Jolley
d0c6c54989
Moved link/create code to data store with new unit test
...
This code was not testable within ajax code, so moved to the data stores.
2019-04-15 11:59:57 +01:00
David Jensen
23bda4503e
Add comment
2019-04-12 14:49:17 -07:00
David Jensen
ac6da3cb55
Unit test strip HTML from product title when building PayPal request URL
2019-04-12 14:44:38 -07:00
Marco Chiesi
92c356021c
Added missing parameter comments
2019-04-11 01:12:27 +02:00
Marco Chiesi
2a784a3003
Added missing doc comments (coding standards)
2019-04-11 01:03:48 +02:00
Marco Chiesi
cba442283c
Fixed wrong tests for Italian postcodes
2019-04-11 00:33:30 +02:00
Mike Jolley
d3e2d725e7
prevent test showing content
2019-04-10 13:50:42 +01:00
Manos Psychogyiopoulos
2fbb7bda5c
Check coding stds
2019-04-10 13:02:52 +03:00
Manos Psychogyiopoulos
c1b7c55768
Add exclude param tests
2019-04-10 12:47:31 +03:00
Manos Psychogyiopoulos
a9f86ef202
Add include param tests
2019-04-10 12:47:19 +03:00
Manos Psychogyiopoulos
e6f25b04d8
Add limit param tests
2019-04-10 12:47:06 +03:00
Timmy Crawford
ef4f0f0c0f
Merge pull request #23197 from woocommerce/fix/23182
...
[3.6] Fix backwards compatibility issues for wc_get_template function w/ tests
2019-04-08 10:19:16 -07:00
Mike Jolley
1cd2959087
unset rather than prevent the template being included.
2019-04-03 16:08:12 +01:00
Mike Jolley
7feae340f2
Add tests
2019-04-03 11:58:15 +01:00
Mike Jolley
2e9ce0a061
unit tests
2019-04-02 15:18:06 +01:00
Mike Jolley
c5b31cee3d
Unit test for counts
2019-04-02 11:45:58 +01:00
Mike Jolley
ad49085571
Append random number to reduce recusion
2019-03-27 12:22:15 +00:00
Mike Jolley
94466460ad
Tests
2019-03-26 11:09:30 +00:00
Claudio Sanches
a425e92672
Removed legacy "Orders index" tool
2019-03-15 11:34:32 +00:00
Adrien Foulon
8bae56d51a
Remove '_' prefix from function
2019-03-13 18:01:53 +01:00
Mike Jolley
e2e124f365
Merge pull request #22083 from woocommerce/feature/variation-search
...
Added storing attribute values as post_excerpt for variations.
2019-03-13 15:09:19 +00:00
Adrien Foulon
7099aa5d1a
Change function call to static
2019-03-13 13:48:39 +01:00
Peter Fabian
2b8d2cf3dd
PHPCS on test file.
2019-03-13 13:30:59 +01:00
Peter Fabian
0aa9a09d18
Enforced attribute order to make result unambiguous.
2019-03-13 12:36:46 +01:00
Adrien Foulon
a316101358
Fix tests
2019-03-13 11:58:59 +01:00
Peter Fabian
918ea3c5aa
Added test for attribute_summary.
2019-03-12 18:40:04 +01:00
Mike Jolley
c39f447ff4
Merge branch 'fix/22937'
2019-03-12 13:27:13 +00:00
Mike Jolley
0877e7d8f7
Merge pull request #22954 from woocommerce/add/blocks-rest-api
...
Merge blocks branch: add 8 product blocks and related API endpoints
2019-03-11 15:18:20 +00:00
Mike Jolley
fbda3a91d8
Merge feature/add-tracks into master
2019-03-11 15:15:50 +00:00
Mike Jolley
e55bb84e8b
Merge pull request #22718 from woocommerce/experiment/product-sorting-index
...
Performance: product sorting lookup table
2019-03-11 13:27:10 +00:00
Kelly Dwan
845300c975
Update test names and comments to reflect correct user role
2019-03-08 15:16:59 -05:00
Mike Jolley
15ca2144d3
Merge pull request #22773 from woocommerce/performance/delete-empty-meta
...
Performance: delete empty meta
2019-03-08 10:22:31 +00:00
Mike Jolley
e7c8db0796
Merge pull request #22887 from woocommerce/update/22882-additional-system-status-values
...
Additional System Status Options
2019-03-08 10:15:45 +00:00
Mike Jolley
a3c2dcd8f2
Update from master
2019-03-08 09:50:56 +00:00
Kelly Dwan
39a8bbf54c
Fix space/tab issue for phpcs
2019-03-07 12:32:55 -05:00