Revert: wp_mock to 0.3.0 and remove :void from AdminTest::setUp

This commit is contained in:
2025-04-18 18:25:03 +01:00
parent 3d739915d7
commit bcdbbb454c
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@
"squizlabs/php_codesniffer": "^3.5",
"wp-coding-standards/wpcs": "^2.3",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"10up/wp_mock": "^0.4.2",
"10up/wp_mock": "0.3.0",
"antecedent/patchwork": "^2.1.21"
},
"autoload": {

View File

@@ -30,7 +30,7 @@ class AdminTest extends \WP_Mock\Tools\TestCase {
/**
* Set up test environment
*/
public function setUp(): void {
public function setUp() {
parent::setUp();
// Set up mocks