Claudio Sanches
f0b6e3fc33
Test removing fee_lines from order in REST API
2017-11-21 16:07:03 -02:00
Claudiu Lodromanean
887003cc02
Merge pull request #17812 from woocommerce/update/wc-e2e-page-objects
...
Update wc-e2e-page-objects package to version 0.5.0
2017-11-21 09:22:08 -08:00
Rodrigo Primo
9793bd6985
Update e2e tests to work with the latest version of selenium-webdriver
...
The new version of selenium-webdriver no longer supports passing a description to before() and after().
2017-11-20 10:42:28 -02:00
Rodrigo Primo
b28280f9ab
Typo
2017-11-20 10:36:49 -02:00
Gerhard Potgieter
32c568209d
Add unit test to cover download permissions when running wc_update_new_customer_past_orders
2017-11-20 10:12:59 +02:00
Claudio Sanches
885d0aa415
Fixed WC_Tests_Formatting_Functions::test_wc_do_oembeds()
2017-11-16 17:59:50 -02:00
Mike Jolley
facdc49fad
Total should be a string
2017-11-16 19:47:34 +00:00
Claudio Sanches
a32fae4191
Fixed WC_Tests_Product_Data::test_product_getters_and_setters tests
2017-11-16 17:23:42 -02:00
Claudio Sanches
4d55aaf4ef
Fixed WC_Tests_Discounts::test_calculations
2017-11-16 17:08:45 -02:00
Claudio Sanches
876f67a5a9
Fixed non existing product on Products_API::test_get_products_without_permission
2017-11-16 16:59:21 -02:00
Claudio Sanches
c140331dc3
[Unit Tests] Clean products after tested is complete
2017-11-16 16:56:30 -02:00
Claudio Sanches
01983e6b96
Query and save only IDs of products when fetching products by shortcode
2017-11-16 15:14:36 -02:00
Claudiu Lodromanean
cc5c182f9d
Merge pull request #17679 from woocommerce/update/12517-download-reporting
...
Download reporting
2017-11-14 12:23:01 -08:00
Rodrigo Primo
d26310f9c8
Forgot to change the logic to update codecov to run on the non-blocking Travis job
2017-11-13 16:19:36 -02:00
Rodrigo Primo
2dcb04e2e2
Generate code coverage report on a separate non-blocking Travis job
...
Travis build is taking about 40 minutes to complete, and that is mostly because of the generation of the code coverage report.
To address that, this commit changes Travis configuration to run the command to generate code coverage report on a separate non-blocking Travis job. This way once the jobs that run the tests finishes, Travisi will mark the build as successful and will keep running code coverage on a separate job.
2017-11-13 15:57:11 -02:00
Mike Jolley
eddd7fbfb4
Feedback
2017-11-13 15:58:22 +00:00
Mike Jolley
3e7968d37b
Merge branch 'master' into pr/16418
2017-11-13 14:37:18 +00:00
Rodrigo Primo
89542a9fb8
Disable XDebug to speed up Travis builds
...
This commit removes Xdebug from PHP runtime on all build jobs except PHP 7.1 to speed up Travis builds. Xdebug is needed in the PHP 7.1 build job because this job is used to generate code coverage.
2017-11-10 20:05:23 -02:00
Jeremy Pry
a4d1c829eb
Add unit tests to compare cloned cart objects to original ( #17560 )
...
* Add unit tests to compare cloned cart objects to original
* Don't use reflection for fees test
* Skip test using ReflectionProperty::setAccessible() below PHP 5.3
2017-11-10 12:03:14 +00:00
Mike Jolley
78466a6665
Merge pull request #17599 from JPry/allow_clone_cart
...
Allow for cloning the WC_Cart object
2017-11-10 12:02:59 +00:00
Claudio Sanches
b04c7bd71e
Merge pull request #17628 from woocommerce/fix/17624
...
Change how line items are saved in API
2017-11-09 17:36:39 -02:00
Mike Jolley
6e08ff0284
Merge pull request #17610 from woocommerce/update/17557
...
Theme support to declare image sizes
2017-11-09 16:04:22 +00:00
Claudio Sanches
9979e4b3e5
Merge pull request #17589 from woocommerce/fix/17585
...
get_total_ex_tax should exclude fee taxes
2017-11-08 19:05:23 -02:00
Jeremy Pry
cf5bd606c6
Rename register_hooks() to init()
2017-11-08 10:17:52 -05:00
Mike Jolley
827d133cb2
Improve tests
2017-11-08 13:54:33 +00:00
Mike Jolley
0198aa22ac
Fix up test
2017-11-08 12:32:08 +00:00
Mike Jolley
f5c7164ae5
Added a test to confirm this issue is specific to the API
2017-11-08 12:16:22 +00:00
Mike Jolley
6f693d4d1a
Upgrade routine
2017-11-07 19:16:44 +00:00
Mike Jolley
cf448398cd
Update API
2017-11-07 19:08:06 +00:00
MounirHamani
9e3d566038
Update unit test to add new Belarusian currency BYN
2017-11-07 20:04:46 +01:00
Mike Jolley
db4e630600
Replace thumbnail names
2017-11-07 18:48:51 +00:00
MounirHamani
fc220a51a9
Update unit test for old Belarusian currency BYR
2017-11-07 18:50:01 +01:00
Mike Jolley
6701917e5a
Remove need for wc_get_core_supported_themes
2017-11-07 12:17:03 +00:00
Mike Jolley
2de438dbc5
constant
2017-11-06 21:30:00 +00:00
Mike Jolley
d62721dbb5
..and fix tests based on updated constant setting - taxes round down
2017-11-06 21:26:28 +00:00
Mike Jolley
cb61e9dd3d
WC_TAX_ROUNDING_MODE auto to support switching in tests
2017-11-06 21:25:02 +00:00
Mike Jolley
7048d0769c
Restore tests
2017-11-06 21:18:12 +00:00
Mike Jolley
42fef1a51a
Float handling logic for scientific notation
2017-11-06 20:04:03 +00:00
Mike Jolley
466b8c8163
More tests with more decimals
2017-11-06 20:04:03 +00:00
Mike Jolley
fe72fdfbd2
Add test to show error happening
2017-11-06 20:04:03 +00:00
Jeremy Pry
86aaa66ec0
Ensure hooks are added during unit tests
2017-11-06 14:58:07 -05:00
claudiulodro
939c115ddb
Out of base unit tests
2017-11-06 19:41:27 +00:00
claudiulodro
0e40f619af
Out of base cart tests (need tweaking)
2017-11-06 19:41:27 +00:00
Joel Rowley
ca2ca5a5ca
Add unit test to demonstrate type conversion precision bug
2017-11-03 22:20:41 -04:00
Mike Jolley
c17e76adc8
Merge pull request #17113 from woocommerce/add/travis-phpcs
...
Run PHPCS in Travis CI
2017-11-01 12:18:44 +00:00
claudiulodro
64a4a00198
Add e2e db
2017-10-31 13:50:39 -07:00
claudiulodro
d72b29d4b7
Couple tweaks to make test run well on latest WC
2017-10-31 13:36:01 -07:00
claudiulodro
88eb283713
Update e2e tests
2017-10-31 11:14:19 -07:00
Claudio Sanches
e1a4f6e159
Merge pull request #17470 from woocommerce/pr/16959
...
Added actions before calculations order totals and taxes and is_vat_excempt support
2017-10-31 12:21:08 -02:00
Mike Jolley
95cad5fae0
Added unit test
2017-10-31 13:51:06 +00:00