From 660308aa6b23e14ef133e3c740d6a53fb3278d1a Mon Sep 17 00:00:00 2001 From: Justin Foell Date: Fri, 9 Nov 2018 13:45:37 -0600 Subject: [PATCH] Added unit test README --- phpunit.xml | 2 +- tests/README.md | 14 ++++++++++++++ tests/WPStrava/SOMEnglishTest.php | 2 +- tests/bootstrap.php | 3 ++- 4 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 tests/README.md 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();