summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTom Park <tom@raucter.com>2014-08-28 16:53:03 +0400
committerTom Park <tom@raucter.com>2014-08-28 16:53:03 +0400
commitbc67ec96f79ea6e652eb187eaf4df1f57946d6bb (patch)
tree8a8533820297d25114de5ac912d414968a99f7bd /test
parente7163c7f9e42c9777b77a39754422a4ac512f1f7 (diff)
downloadoauth2-server-php-bc67ec96f79ea6e652eb187eaf4df1f57946d6bb.tar.xz
When testing Couchbase connection now use a CouchbaseException as that is what will be thrown
Diffstat (limited to 'test')
-rwxr-xr-xtest/lib/OAuth2/Storage/Bootstrap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/OAuth2/Storage/Bootstrap.php b/test/lib/OAuth2/Storage/Bootstrap.php
index 34c3acd..f1af0ba 100755
--- a/test/lib/OAuth2/Storage/Bootstrap.php
+++ b/test/lib/OAuth2/Storage/Bootstrap.php
@@ -197,7 +197,7 @@ class Bootstrap
if (count($couchbase->getServers()) > 0) {
return true;
}
- } catch (\MongoConnectionException $e) {
+ } catch (\CouchbaseException $e) {
return false;
}