Skip to content

Commit

Permalink
Require other autoloader
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Nov 14, 2023
1 parent 79aeb17 commit 207b022
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/phpunit/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
define( 'TESTS_PLUGIN_DIR', dirname( __DIR__, 2 ) );
define( 'UNIT_TESTS_PLUGIN_DIR', TESTS_PLUGIN_DIR . '/tests/phpunit/testdata/plugins/' );

if ( file_exists( TESTS_PLUGIN_DIR . '/build-cs/vendor/autoload.php' ) ) {
require_once TESTS_PLUGIN_DIR . '/build-cs/vendor/autoload.php';
}

if ( file_exists( TESTS_PLUGIN_DIR . '/vendor/autoload.php' ) ) {
require_once TESTS_PLUGIN_DIR . '/vendor/autoload.php';
}
Expand Down

0 comments on commit 207b022

Please sign in to comment.