Skip to content

Commit

Permalink
Refactored unit tests to reflect latest WP tests engine.
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisnissle committed Sep 24, 2024
1 parent 300c48f commit 3c27f4d
Show file tree
Hide file tree
Showing 92 changed files with 1,224 additions and 944 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
/bin export-ignore
/phpcs.* export-ignore
/phpunit.* export-ignore
/.phpunit* export-ignore
/renovate.json export-ignore
/package.json export-ignore
/package-lock.json export-ignore
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ project.properties
.project
.settings*
.idea
.phpunit.result.cache
none

# Grunt
/node_modules/
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"prefer-dist": true,
"minimum-stability": "dev",
"require": {
"automattic/jetpack-autoloader": "2.10.1",
"automattic/jetpack-autoloader": "2.11.18",
"php": ">=5.6|>=7.0",
"composer/installers": "^1.9.0",
"digitick/sepa-xml" : "^2.0.0",
Expand All @@ -20,9 +20,9 @@
},
"require-dev": {
"myclabs/deep-copy": "^1.7.0",
"phpunit/phpunit": "7.5.14",
"yoast/phpunit-polyfills": "^1.0",
"woocommerce/woocommerce-sniffs": "^0.1.3"
"phpunit/phpunit": "^9.0.0",
"yoast/phpunit-polyfills": "^3.0",
"woocommerce/woocommerce-sniffs": "^1.0.0"
},
"repositories": [
{
Expand All @@ -42,7 +42,7 @@
"optimize-autoloader": true,
"allow-plugins": true,
"platform": {
"php": "7.2"
"php": "8.2"
},
"preferred-install": "dist",
"sort-packages": true
Expand Down
Loading

0 comments on commit 3c27f4d

Please sign in to comment.