Commit Graph

204 Commits

Author SHA1 Message Date
Claudio Sanches 4922c34180
Merge pull request #26136 from woocommerce/feature/code-hacker-for-unit-tests
Code hacker for unit tests
2020-06-03 08:41:28 -03:00
Nestor Soriano 32dac2486f Update autoload-dev in composer.json to add tests/tools directory
The mapping of the "Automattic\WooCommerce\Testing\Tools\" namespace
to the "tests/tools" directory is moved from manual registration
inside the tests bootstrap constructor to a declaration inside the
autload-dev section in composer.json.
2020-06-03 09:28:54 +02:00
Renovate Bot 4d4e327df6
Update dependency woocommerce/woocommerce-admin to v1.2.3 2020-05-22 19:24:14 +00:00
Christopher Allford 326d8feb92 Updated the Jetpack Autoloader
Jetpack made a change that requires some extra ignore entries from the latest release of the autoloader, otherwise debug logging warnings are thrown.
2020-05-19 16:16:50 -07:00
Claudio Sanches eea062f9fa
Merge pull request #26519 from woocommerce/fix/csv-import-special-columns
Fixed the case conversion for meta key column mapping in product CSV imports
2020-05-18 11:33:50 -03:00
Néstor Soriano eab8920a07
Merge pull request #26314 from woocommerce/add/build-workflow
Build release workflow
2020-05-15 10:36:34 +02:00
Christopher Allford 63ba6f7ee0 Moved the PSR-4 namespaced test directory to the correct folder
I know this probably doesn't belong in this PR, but it has been thoroughly discussed and I don't think anyone will mind :)
2020-05-14 21:20:47 -07:00
Ron Rennick 229841b9b5 fix merge conflicts take 2 2020-05-12 14:32:59 -03:00
Ron Rennick db7d86f4f5 fix merge conflicts 2020-05-12 13:46:10 -03:00
Ron Rennick f5a7f727f3 update Action Scheduler to 3.1.6 2020-05-12 13:41:13 -03:00
Renovate Bot c4bb82eafc
Update dependency woocommerce/woocommerce-admin to v1.2.0 2020-05-12 16:24:15 +00:00
vedanshujain 253cf5b5d9 Update WC-REST API version to 1.0.8 2020-05-11 23:54:19 +05:30
Ron Rennick 0f2fb4f8d5 fix merge conflicts 2020-05-06 14:05:00 -03:00
Christopher Allford c0ecb79ba2
Merge pull request #26345 from woocommerce/refactor/phpunit-suite
Restructure PHPUnit Suite
2020-04-30 13:51:16 -07:00
Ron Rennick 105cea27c5 fix merge conflicts 2020-04-30 13:34:29 -03:00
Renovate Bot 276c293edc
Update dependency woocommerce/woocommerce-admin to v1.1.1 2020-04-29 18:04:08 +00:00
Renovate Bot 70ad0d0954
Update dependency woocommerce/action-scheduler to v3.1.5 2020-04-29 16:50:56 +00:00
Christopher Allford 04ec11e90b Added a PSR-4 namespaced tests/php folder for tests written against new code in the src directory 2020-04-28 15:41:04 -07:00
Ron Rennick da494be615 merge master 2020-04-28 16:13:30 -03:00
Claudio Sanches 7750a44da0 Allow generate pot as a root user 2020-04-27 20:08:08 -03:00
vedanshu.jain 894f26b39c Update wc-adminv version to 1.1.0 2020-04-21 16:16:33 +05:30
Christopher Allford caa1a6d475 Merge remote-tracking branch 'origin/master' into fix/update-minimum-version 2020-04-16 14:46:17 -07:00
Jeff Stieler dfb3057d12 Update woocommerce-admin to latest 1.1.0 version. 2020-04-15 11:18:08 -06:00
Renovate Bot 65ae94bd4d
Update dependency woocommerce/woocommerce-sniffs to v0.0.10 2020-04-09 13:01:24 +00:00
vedanshu.jain a47c02678a Bump wc-admin version to use latest 1.1.0.
Using commit to force travis to clear build cache.
2020-04-09 16:08:37 +05:30
Peter Fabian 2de06827e6 Updated jetpack-autoloader and woocommerce-blocks
Dependencies updated in one go as Blocks bumped version for JP autoloader.
2020-04-07 14:19:35 +02:00
Christopher Allford 09df1205de Updated the minimum PHP version to 7.0 2020-04-06 17:07:33 -07:00
Renovate Bot 69256e7b89
Update dependency woocommerce/woocommerce-admin to v1.1.0 2020-04-06 20:40:26 +00:00
Renovate Bot c2002976af
Update dependency woocommerce/woocommerce-blocks to v2.5.15 2020-03-31 14:12:53 +00:00
Renovate Bot 2a7cb16ab6
Update dependency woocommerce/woocommerce-admin to v1.0.3 2020-03-19 17:40:15 +00:00
Renovate Bot 75d07e9064
Update dependency woocommerce/action-scheduler to v3.1.4 2020-03-18 15:23:38 +00:00
Paul Sealock 7213ddb3f7 wc-admin: bump version to 1.0.2 2020-03-18 11:58:14 +13:00
Peter Fabian 968e9c6527 Update Action Scheduler to version 3.1.2
This is a trick to avoid function conflict with MailChimp 2.3.4 and how it hooks its own version of Action Scheduler during the autoloader function.
2020-03-10 16:02:37 +01:00
Renovate Bot 3968c31466
Update dependency woocommerce/woocommerce-admin to v1 2020-03-05 02:07:09 +00:00
Renovate Bot ec0b9412ef
Update dependency woocommerce/woocommerce-blocks to v2.5.14 2020-03-03 14:59:04 +00:00
Peter Fabian 0c0a7b0355 Update slug for generating the i18n file.
When running from the release directory, slug is auto-detected incorrectly, so specify it explicitly.
2020-03-02 19:09:29 +01:00
Paul Sealock 27504e8bd5 bump wc-admin to 0.26.1 2020-02-26 10:02:01 +13:00
Ron Rennick 25ab5596a2 fix composer.lock conflict 2020-02-25 15:00:55 -04:00
Renovate Bot 0f317108cf
Update dependency woocommerce/woocommerce-blocks to v2.5.13 2020-02-25 10:25:02 +00:00
Ron Rennick 22d5dce682 change the namespace of the WC Admin Package class 2020-02-24 22:56:32 -04:00
Ron Rennick 2d70a48361 bump action scheduler version, add queue unit tests 2020-02-24 21:45:19 -04:00
Renovate Bot 4d682b6cdc
Update dependency woocommerce/woocommerce-admin to v0.25.1 2020-02-08 11:24:16 +00:00
Renovate Bot 2242c20409
Update dependency woocommerce/woocommerce-blocks to v2.5.12 2020-02-06 11:17:31 +00:00
Claudio Sanches 805d499649 Merge branch 'master' into try/add-wc-admin 2020-02-05 14:09:03 -03:00
Claudio Sanches 5b9937ad48 Merge branch 'master' into try/add-wc-admin 2020-02-05 13:02:51 -03:00
Claudio Sanches 2d71041726 Removed old repository entry from composer.json 2020-02-05 11:43:48 -03:00
Claudio Sanches 2b30c3179b Merge branch 'master' into update/makepot 2020-02-05 10:52:50 -03:00
Rodrigo Primo f539d3e04b Merge branch 'master' into update/emogrifier 2020-02-05 10:01:38 -03:00
Rodrigo Primo ff05b06e6b Merge branch 'master' into update/emogrifier 2020-02-05 09:56:03 -03:00
Peter Fabian 87e42acd56
Merge branch 'master' into try/add-wc-admin 2020-02-05 13:02:20 +01:00
Peter Fabian b0f6efebbb
Merge pull request #25566 from woocommerce/update/action-scheduler-3
Updated AS to version 3.0.1
2020-02-05 11:29:37 +01:00
Jeff Stieler 213c7e0569 Use release version of WooCommerce Admin. 2020-02-04 16:07:32 -08:00
Jeff Stieler d78c045ac6 Alias a branch of wc-admin instead. 2020-02-04 16:03:15 -08:00
Paul Sealock 4380087608 wc-admin: Include package 2020-02-04 16:01:57 -08:00
Christopher Allford 57734ca8ce Merge branch 'master' into refactor/add-jetpack-constants 2020-02-04 14:36:35 -08:00
Claudio Sanches 24fd993ded Included descriptions for scripts 2020-02-04 17:44:20 -03:00
Claudio Sanches a94746e4aa Use WP-CLI to generate .pot file 2020-02-04 17:37:35 -03:00
Peter Fabian ef8498a5e5 Updated AS to version 3.0.1. 2020-02-04 11:42:37 +01:00
Ron Rennick 9b99f3b9ae use action scheduler dist package 2020-01-31 10:13:50 -04:00
Ron Rennick e242d84877 fix merge conflicts 2020-01-31 10:11:01 -04:00
Christopher Allford 53e0087318 Merge remote-tracking branch 'origin/master' into refactor/add-jetpack-constants 2020-01-29 12:31:29 -08:00
Claudio Sanches d4ea170cf0 Added Emogrifier as a composer package 2020-01-29 15:48:49 -03:00
Christopher Allford 9c8a6d78d9 Added automattic/jetpack-constants package to make testing constants easier 2020-01-28 16:28:40 -08:00
Renovate Bot 4389ef5b40
Update dependency woocommerce/woocommerce-rest-api to v1.0.7 2020-01-28 21:55:26 +00:00
Renovate Bot 3ccefeb8db
Update dependency woocommerce/woocommerce-blocks to v2.5.11 2020-01-20 21:39:43 +00:00
Renovate Bot f81afa0794
Update dependency phpunit/phpunit to v7.5.20 2020-01-16 00:58:45 +00:00
Claudio Sanches 28718614d7 Version 3.9.0-rc.3 2020-01-15 21:17:57 -03:00
Ron Rennick fda63f4536 move action scheduler to external via composer 2020-01-15 10:31:04 -04:00
Christopher Allford 300064187b Moved the MaxMind DB Reader library into composer and pinned the latest version 2020-01-07 15:25:58 -08:00
Renovate Bot e64d687066
Update dependency woocommerce/woocommerce-blocks to v2.5.7 2019-12-20 16:40:18 +00:00
Renovate Bot dee631a71e
Update dependency woocommerce/woocommerce-rest-api to v1.0.5 2019-12-18 23:02:51 +00:00
Claudio Sanches 3f87c1b6f7
Merge pull request #25213 from woocommerce/renovate/woocommerce-woocommerce-blocks-2.x
Update dependency woocommerce/woocommerce-blocks to v2.5.6
2019-12-18 12:45:43 -03:00
Renovate Bot 9fc6a048a2
Pin dependency phpunit/phpunit to 7.5.18 2019-12-18 12:06:29 +00:00
Renovate Bot b8e9fd5dac
Update dependency woocommerce/woocommerce-blocks to v2.5.6 2019-12-17 19:40:53 +00:00
Rodrigo Primo 4bd6156bbb Lock PHPUnit version to 7.x
This is necessary as WordPress unit tests currently don't work with
PHPUnit 8.x. We will be able to update the PHPUnit version when the
following WP ticket is resolved: https://core.trac.wordpress.org/ticket/46149
2019-12-13 09:44:32 -03:00
Claudio Sanches ab2c455783 Merge branch 'master' into update/packages 2019-12-10 11:40:56 -03:00
Claudio Sanches cd241e691c Updated packages 2019-12-10 11:29:15 -03:00
Renovate Bot 1aeb69585d
Update dependency phpunit/phpunit to v7.5.18 2019-12-06 06:00:04 +00:00
Claudio Sanches 4980f8537c Updated Blocks and REST API packages 2019-12-05 22:50:13 -03:00
Renovate Bot caa00ac6f5
Update dependency woocommerce/woocommerce-sniffs to v0.0.9 2019-11-18 11:38:41 +00:00
Renovate Bot 5130aa3319
Update dependency phpunit/phpunit to v7.5.17 2019-11-04 13:39:09 +00:00
Renovate Bot 20e6d34b1d
Update dependency woocommerce/woocommerce-blocks to v2.4.5 2019-11-02 13:57:27 +00:00
Renovate Bot 250de90491
Update dependency woocommerce/woocommerce-sniffs to v0.0.8 2019-10-16 18:56:42 +00:00
Renovate Bot b97bc6b03a
Update dependency woocommerce/woocommerce-blocks to v2.4.3 2019-10-14 13:41:40 +00:00
vedanshujain 285287fa46 Update `woocommerce-blocks` to `2.4.2` and `composer/installers` to 1.7.0
woocommerce-blocks update was blocked by jetpack-autoloader conflict between woocommerce core and woocommerce-blocks. Now that this has been resolved in an earlier commit, woocommerce-blocks can be updated.
2019-10-01 19:00:08 +05:30
Mike Jolley 98461cbf4e Update autoloader version to use ranges 2019-10-01 14:17:46 +01:00
Renovate Bot f3f0b27d39
Update dependency automattic/jetpack-autoloader to v1.3.2 2019-09-24 07:34:17 +00:00
Renovate Bot e0a0054f2d
Update dependency phpunit/phpunit to v7.5.16 2019-09-14 10:31:58 +00:00
Renovate Bot 2c8cb5bd2f
Update dependency woocommerce/woocommerce-sniffs to v0.0.7 2019-08-23 21:48:46 +00:00
Rodrigo Primo 557e9aae95 Remove myclabs/deep-copy from the list of Composer dev dependencies
myclabs/deep-copy was added to composer.json directly as a workaround an issue in
the Travis build when running PHP 5.6 (#24079). Removing it in this commit to
check if the issue in Travis has been fixed as we don't really use this
package for WooCommerce development.
2019-08-21 15:55:18 -03:00
Renovate Bot 4a7bd9dee9
Update dependency phpunit/phpunit to v7.5.15 2019-08-21 07:37:52 +00:00
Renovate Bot 67abaef097
Update dependency woocommerce/woocommerce-blocks to v2.3.0 2019-08-12 11:52:22 +00:00
Renovate Bot fb7dbd451b
Update dependency woocommerce/woocommerce-blocks to v2.3.0-rc.1 2019-08-01 15:11:11 +00:00
Renovate Bot 7bf9353d21
Update dependency woocommerce/woocommerce-blocks to v2.3.0-beta.3 2019-07-29 16:42:16 +00:00
Renovate Bot f4bfc15ef2
Update dependency woocommerce/woocommerce-blocks to v2.3.0-beta.2 2019-07-25 15:28:48 +00:00
Claudio Sanches 67212d1303 Updated PHPUnit to 7.5.14 2019-07-18 22:02:58 -03:00
Claudio Sanches 65a32cfc2f REST API package version 1.0.3 2019-07-16 11:36:10 -03:00
Steve Grunwell 5fa06c6287 Merge remote-tracking branch 'upstream/master' into fix/composer-platform-version 2019-07-10 16:34:41 -04:00
Mike Jolley 1b132157ed bump package version to beta 2019-07-10 12:43:43 +01:00
Steve Grunwell 9a43f4728f Explicitly declare PHP version requirements and platform defaults
When running `composer update` on anything more recent than PHP 7.0, doctrine/instantiator version 1.2.0 is installed and tracked in the `composer.lock` file. Unfortunately, this causes some rather cryptic errors when running the WooCommerce test suite in PHP 7.0, as doctrine/instantiator version 1.1.0 dropped support for PHP < 7.1 (see https://github.com/doctrine/instantiator/releases/tag/1.1.0).

This commit adds two things to the `composer.json` file:

1. Explicit platform requirements ("php": "^5.6|^7.0")
2. A `config.platform` value, which essentially tells Composer "when you're installing/updating dependencies, assume it's on a machine running PHP 7.0".

My assumption is the current `composer.lock` file was generated in an environment running PHP 7.0, which is why current Travis runs are working but running `composer update` on anything higher than PHP 7.0 causes the tests to start failing within the PHP 7.0 test runner.
2019-07-09 21:15:13 +00:00