diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-12-21 18:08:08 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-12-21 18:14:29 +0100 |
commit | d7169ffdec2a744683b9fb613dd08d560ed9842f (patch) | |
tree | a7af0befac2cbd505d7ed5bd78e20e8393f5d432 /lib/private/setup/postgresql.php | |
parent | 0b913f00c7e49c57d2e0068854b5d4c133b0cb36 (diff) | |
download | nextcloud-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