fix: run tests autoload vendor

This commit is contained in:
vnmedeiros 2021-11-11 11:44:42 -03:00
parent 29d4146617
commit e67c60f9fc
3 changed files with 1841 additions and 4 deletions

View File

@ -9,7 +9,8 @@
},
"require-dev": {
"squizlabs/php_codesniffer": "^2.2 || ^3.0.2",
"phpcompatibility/php-compatibility": "*"
"phpcompatibility/php-compatibility": "*",
"yoast/phpunit-polyfills": "^1.0"
},
"prefer-stable" : true,
"minimum-stability": "dev",

1840
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
<?php
require dirname( dirname( __FILE__ ) ) . '/src/vendor/autoload.php';
return [
'tests_dir' => '/tmp/wordpress/wordpress-tests-lib',
];