Skip to content
This repository was archived by the owner on Jun 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #46 from liquidweb/fix/importer-with-corrupted-orders
Browse files Browse the repository at this point in the history
Adjust importer to account for corrupted orders
  • Loading branch information
bswatson authored Feb 22, 2018
2 parents e2fe4bd + 4a1883f commit 11b13a8
Show file tree
Hide file tree
Showing 6 changed files with 1,533 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ before_script:
script:
- |
if [[ ${RUN_CODE_COVERAGE} ]]; then
phpunit --coverage-clover build/logs/clover.xml
./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
else
phpunit
./vendor/bin/phpunit
fi
- |
if [[ ${RUN_PHPCS} == 1 ]]; then
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]

* Resolved issue in CLI importer where a `false` value from `wc_get_order()` could cause a fatal error ([#43] & [#46], props @zacscott).
* Prevent Travis CI from using PHPUnit 7.0 [until the WordPress core test suite can support it, too](https://core.trac.wordpress.org/ticket/43218).

## [Version 1.0.0 (Beta 3)] - 2018-01-23

* Plugin test suite now extends the WooCommerce core test suite, ensuring WooCommerce behaves as expected when the plugin is active ([#26]).
Expand Down Expand Up @@ -46,3 +51,5 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
[#35]: https://github.com/liquidweb/woocommerce-order-tables/pull/35
[#36]: https://github.com/liquidweb/woocommerce-order-tables/pull/36
[#38]: https://github.com/liquidweb/woocommerce-order-tables/pull/38
[#43]: https://github.com/liquidweb/woocommerce-order-tables/issues/43
[#46]: https://github.com/liquidweb/woocommerce-order-tables/pull/46
6 changes: 6 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"require-dev": {
"php": "^7.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4",
"phpunit/phpunit": "6.2.3",
"wimg/php-compatibility": "^8.1",
"woocommerce/woocommerce": "dev-feature/more-order-tests",
"woocommerce/woocommerce-git-hooks": "*",
Expand Down Expand Up @@ -44,6 +45,11 @@
"phpunit --testsuite=plugin --coverage-html=tests/coverage"
]
},
"config": {
"platform": {
"php": "7.0"
}
},
"extra": {
"installer-paths": {
"vendor/{$vendor}/{$name}": [
Expand Down
Loading

0 comments on commit 11b13a8

Please sign in to comment.