Skip to content

Commit

Permalink
Upgrade WP_Mock to latest version
Browse files Browse the repository at this point in the history
The latest version of WP_Mock changed the name of the function
::wpFunction to ::userFunction. This commit makes that change in the
tests as well.

https://github.com/10up/wp_mock/pull/50/files
  • Loading branch information
patdel0 committed Jun 21, 2024
1 parent 276e73b commit 635f26a
Show file tree
Hide file tree
Showing 20 changed files with 3,483 additions and 2,179 deletions.
2 changes: 1 addition & 1 deletion wp-content/plugins/dxw-sec-api/composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"require-dev": {
"10up/wp_mock": "^0.1.1",
"10up/wp_mock": "^1.0.1",
"squizlabs/php_codesniffer": "^3",
"dxw/phar-install": "^1.0",
"kahlan/kahlan": "^5.2"
Expand Down
2,000 changes: 1,593 additions & 407 deletions wp-content/plugins/dxw-sec-api/composer.lock

Large diffs are not rendered by default.

Binary file modified wp-content/plugins/dxw-sec-api/vendor.phar
Binary file not shown.
4 changes: 2 additions & 2 deletions wp-content/themes/dxw-security-2017/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
},
"require-dev": {
"dxw/phar-install": "^1.0",
"10up/wp_mock": "^0.3.0",
"mikey179/vfsstream": "^1.6",
"dxw/php-cs-fixer-config": "^2.1",
"kahlan/kahlan": "^5.2"
Expand All @@ -37,6 +36,7 @@
"dxw/iguana-theme": "^1.0",
"dxw/iguana-extras": "^1.0",
"dxw/result": "^1.0",
"dxw/php-missing": "^1.0"
"dxw/php-missing": "^1.0",
"10up/wp_mock": "^1.0.1"
}
}
Loading

0 comments on commit 635f26a

Please sign in to comment.