diff options
| author | Brent Shaffer <bshafs@gmail.com> | 2014-08-28 06:13:42 +0400 |
|---|---|---|
| committer | Brent Shaffer <bshafs@gmail.com> | 2014-08-28 06:13:42 +0400 |
| commit | 74fcc75e47614c1417c750e907a44567d9ceee1f (patch) | |
| tree | 88b56d61f275dd284d9174705558aa90bf31b588 /test/cleanup.php | |
| parent | a7f02c9b7b4a18e54a71f93436aa4a6091f399a7 (diff) | |
| parent | 6a30b9b67ae35c228e852109ed743bf34da22568 (diff) | |
| download | oauth2-server-php-1.5.tar.xz | |
Merge pull request #446 from bshaffer/developv1.5
Tag v1.5
Diffstat (limited to 'test/cleanup.php')
| -rw-r--r-- | test/cleanup.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/cleanup.php b/test/cleanup.php new file mode 100644 index 0000000..4042eb2 --- /dev/null +++ b/test/cleanup.php @@ -0,0 +1,15 @@ +<?php + +require_once(dirname(__FILE__).'/../src/OAuth2/Autoloader.php'); +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'); +} + +// remove the dynamoDB database that was created for this build +OAuth2\Storage\Bootstrap::getInstance()->cleanupTravisDynamoDb();
\ No newline at end of file |
