Skip to content

Commit

Permalink
Update autoload
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Nov 14, 2023
1 parent fccbf2c commit 7435ad0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/phpunit/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
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 . '/build-phpunit/vendor/autoload.php' ) ) {
require_once TESTS_PLUGIN_DIR . '/build-phpunit/vendor/autoload.php';
}

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

0 comments on commit 7435ad0

Please sign in to comment.