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": { "require-dev": {
"squizlabs/php_codesniffer": "^2.2 || ^3.0.2", "squizlabs/php_codesniffer": "^2.2 || ^3.0.2",
"phpcompatibility/php-compatibility": "*" "phpcompatibility/php-compatibility": "*",
"yoast/phpunit-polyfills": "^1.0"
}, },
"prefer-stable" : true, "prefer-stable" : true,
"minimum-stability": "dev", "minimum-stability": "dev",

1840
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

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