summaryrefslogtreecommitdiff
path: root/test/bootstrap.php
diff options
context:
space:
mode:
authorBrent Shaffer <bshafs@gmail.com>2014-01-04 00:11:34 +0400
committerBrent Shaffer <bshafs@gmail.com>2014-01-04 00:11:34 +0400
commit6109ecc305ad476f7f296dee40c52b82601e83b2 (patch)
tree6f02b7f1247d430b736cece53e1462b32d2d016f /test/bootstrap.php
parent31bf513f322e60684a699f67b79f7f1ae5de95ff (diff)
parente46a0ccaf1a43a0412000a56fc9a41a713205754 (diff)
downloadoauth2-server-php-1.2.tar.xz
Merge pull request #288 from bshaffer/developv1.2
Create Tag v1.2
Diffstat (limited to 'test/bootstrap.php')
-rw-r--r--test/bootstrap.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/bootstrap.php b/test/bootstrap.php
index a967dea..0a4af07 100644
--- a/test/bootstrap.php
+++ b/test/bootstrap.php
@@ -5,3 +5,8 @@ OAuth2\Autoloader::register();
// register test classes
OAuth2\Autoloader::register(dirname(__FILE__).'/lib');
+
+// register vendors if possible
+if (file_exists(__DIR__.'/../vendor/autoload.php')) {
+ require_once(__DIR__.'/../vendor/autoload.php');
+}