diff --git a/phpunit.xml b/phpunit.xml index 26d5ffa..45eedc3 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,6 +1,6 @@ assertInstanceOf( 'WPStrava_SOMEnglish', $som ); } -} \ No newline at end of file +} diff --git a/tests/bootstrap.php b/tests/bootstrap.php index d84c73a..a5fbe64 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -2,5 +2,6 @@ if ( ! defined( 'WPSTRAVA_PLUGIN_DIR' ) ) define( 'WPSTRAVA_PLUGIN_DIR', dirname( __FILE__ ) . '/../' ); require_once dirname( __FILE__ ) . '/../lib/autoload.php'; +require_once dirname( __FILE__ ) . '/../vendor/autoload.php'; -WP_Mock::bootstrap(); \ No newline at end of file +WP_Mock::bootstrap();