aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/setup/postgresql.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-12-21 18:08:08 +0100
committerVincent Petry <pvince81@owncloud.com>2015-12-21 18:14:29 +0100
commitd7169ffdec2a744683b9fb613dd08d560ed9842f (patch)
treea7af0befac2cbd505d7ed5bd78e20e8393f5d432 /lib/private/setup/postgresql.php
parent0b913f00c7e49c57d2e0068854b5d4c133b0cb36 (diff)
downloadnextcloud-server-d7169ffdec2a744683b9fb613dd08d560ed9842f.tar.gz
nextcloud-server-d7169ffdec2a744683b9fb613dd08d560ed9842f.zip
Restore DB connection after failure
In case of failure, PHPUnit seems to skip `tearDown`, so any useful assertion messages cannot be shown because `tearDownAfterClass` is throwing an error because of database usage. This commit makes sure we also restore the database in `tearDownAfterClass` to prevent the data root restoration to fail
Diffstat (limited to 'lib/private/setup/postgresql.php')
0 files changed, 0 insertions, 0 deletions