Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
stklcode committed Mar 16, 2024
1 parent d82d840 commit 85da5ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@

// Include polyfills autoloader.
if ( false === class_exists( '\Yoast\PHPUnitPolyfills\Autoload' ) ) {
echo "=== LOADED ===\n";
require_once 'vendor/yoast/phpunit-polyfills/phpunitpolyfills-autoload.php';
} else {
echo "=== ALREADY PRESENT ===\n";
}

$_tests_dir = getenv( 'WP_TESTS_DIR' );
Expand Down

0 comments on commit 85da5ca

Please sign in to comment.