Claudio Sanches
2975b3a7b7
Rate limit feature
2019-12-11 01:38:19 -03:00
Andrej Mernik
d20d429e32
Add postcode validation for Slovenia ( #25174 )
...
Add postcode validation for Slovenia
2019-12-09 10:09:45 -03:00
Peter Fabian
4dfa68b62d
More PHPCS fixes.
2019-12-05 15:46:13 +01:00
Peter Fabian
9b398947dd
Fixed the test by sleeping longer.
2019-12-05 15:17:34 +01:00
Peter Fabian
3ba3d5cf1b
Made the fail messages unique.
2019-12-05 15:07:03 +01:00
Peter Fabian
7bfbe7a5f1
Removed incorrect comment.
2019-12-05 15:05:38 +01:00
Peter Fabian
0d3074a554
Added rate limiting to Add payment method.
2019-12-05 12:03:02 +01:00
Rodrigo Primo
567b667acf
Improve wc_print_notices() test coverage
2019-12-03 15:29:10 -03:00
Claudio Sanches
d8fed95403
Convert all notice data into HTML data
2019-11-07 20:34:49 -03:00
Claudio Sanches
830e612420
Updated notice tests
2019-11-07 20:25:32 -03:00
Rodrigo Primo
a8f6a94cda
Remove methods assertIsWPError() and assertNotWPError() from WC_Unit_Test_Case
...
Those two methods are already declared in the class WP_UnitTestCase, so there is
no need to declare them again in the class WC_Unit_Test_Case. The only
caveat is that assertIsWPError() is called assertWPError() in
WP_UnitTestCase so it was necessary to update all of its usages.
2019-07-19 10:56:58 -03:00
Mike Jolley
c928188831
Update from master
2019-07-10 12:57:02 +01:00
Claudio Sanches
a4b8184464
Merge pull request #23950 from parmarhardip/fix-23944
...
Currency changes applied for 'São Tomé and Príncipe dobra' and 'Mauritanian ouguiya'
2019-07-08 16:12:53 -03:00
Claudio Sanches
da99bc8ca0
Merge branch 'master' into feature/feature-plugin-packages
2019-07-08 14:33:21 -03:00
Rodrigo Primo
737f6af5e8
Introduce file type check for tax rate importer
2019-07-02 10:44:21 -03:00
Rodrigo Primo
7324e480e7
Fix phpcs violations
2019-07-02 10:43:52 -03:00
Mike Jolley
a0a58cfb15
update from master
2019-06-26 15:26:47 +01:00
Mike Jolley
de06195ae9
Remove API unit tests
2019-06-25 14:25:31 +01:00
MD0123-Hardip
9890ab4164
unit testing changes
2019-06-20 11:37:38 +05:30
Claudio Sanches
2f7ec9506f
New tests for is_postcode with NL postcodes
2019-05-28 20:55:51 -03:00
Gerhard
f6d9faa062
Introducde wc_load_cart to dynamically load the cart, this allows for functionality outside of frontend to initialise the cart.
2019-05-22 12:24:31 +02:00
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
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
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
Mike Jolley
1cd2959087
unset rather than prevent the template being included.
2019-04-03 16:08:12 +01:00
Mike Jolley
2e9ce0a061
unit tests
2019-04-02 15:18:06 +01:00
Mike Jolley
5af9d968e5
Update from master
2019-03-01 10:29:17 +00:00
Mike Jolley
7def966e4f
Impoved JSON handling
2019-02-20 12:00:47 +00:00
Mike Jolley
519b29d734
Tests
2019-02-15 12:25:04 +00:00
Mike Jolley
08e8c76eab
Update tests
2019-02-15 12:16:59 +00:00
Toby Robles
59d4a81f1a
Peruvian currency updated
2019-01-30 10:43:52 -05: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
6367d19615
phpcs
2019-01-21 08:11:40 -08: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
Gerhard
be5775a28c
Add unit test for wc_checkout_fields_uasort_comparison
2018-10-31 08:46:49 +02:00
claudiulodro
5f2b915f18
Add filter for ease of extensions
2018-10-11 13:31:30 -07:00
claudiulodro
75bfc8e4bb
Add unit tests
2018-10-11 13:31:30 -07:00
dyszczo
6019e91e5e
php 5.3 compatibility
2018-09-26 15:53:52 +02:00
dyszczo
94ed5a2460
fix for wc_logger test
2018-09-26 15:37:08 +02:00
dyszczo
7f5122d502
Fix for warning in wc_get_logger when woocommerce_logging_class returns valid logger instance
2018-09-26 12:56:59 +02:00
Peter Fabian
897af8d20e
Updated phone validation and formatting rules.
2018-08-24 15:43:46 +02:00
Rodrigo Primo
5f6c729107
Remove unnecessary clean up code from unit tests
...
This commit removes unnecessary clean up code form some unit tests. All database changes done during a test are automatically reverted after the test finishes, so it is not necessary to write code to manually remove them. This change simplifies the test code and make it run a bit faster.
2018-08-23 15:15:17 -03:00
Gerhard Potgieter
73b80c9241
Remove extra asterisk
2018-07-25 14:09:04 +02:00
Gerhard Potgieter
5a0d3c8bf7
Fix indentation issues caused by github conflict tool
2018-07-25 14:07:57 +02:00
Gerhard Potgieter
da82639ebc
Merge branch 'master' into update/core-function-unit-tests
2018-07-25 14:05:12 +02:00