diff options
| author | Tom Park <tom@raucter.com> | 2014-08-28 16:53:03 +0400 |
|---|---|---|
| committer | Tom Park <tom@raucter.com> | 2014-08-28 16:53:03 +0400 |
| commit | bc67ec96f79ea6e652eb187eaf4df1f57946d6bb (patch) | |
| tree | 8a8533820297d25114de5ac912d414968a99f7bd /test | |
| parent | e7163c7f9e42c9777b77a39754422a4ac512f1f7 (diff) | |
| download | oauth2-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-x | test/lib/OAuth2/Storage/Bootstrap.php | 2 |
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; } |
