diff options
author | Michael Grosser <development@stp-ip.net> | 2016-11-02 17:00:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-02 17:00:24 +0000 |
commit | e81d04cd8d2ac0de3d06d4586550469384c5d91a (patch) | |
tree | 0e243d105db3e00f1d3f899b9ecfbd73f3d98235 /apps/files_sharing/tests | |
parent | 23dd62b653e42201468f9bed369a5993dea876b0 (diff) | |
parent | 0eeef26a8e2515b802015fe09bef7909aa183491 (diff) | |
download | nextcloud-server-e81d04cd8d2ac0de3d06d4586550469384c5d91a.tar.gz nextcloud-server-e81d04cd8d2ac0de3d06d4586550469384c5d91a.zip |
Merge pull request #1940 from nextcloud/new-appstore
Use new appstore API
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r-- | apps/files_sharing/tests/UpdaterTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/UpdaterTest.php b/apps/files_sharing/tests/UpdaterTest.php index da292826f0a..bb320336d48 100644 --- a/apps/files_sharing/tests/UpdaterTest.php +++ b/apps/files_sharing/tests/UpdaterTest.php @@ -71,7 +71,8 @@ class UpdaterTest extends TestCase { */ function testDeleteParentFolder() { $status = \OC_App::isEnabled('files_trashbin'); - \OC_App::enable('files_trashbin'); + (new \OC_App())->enable('files_trashbin'); + \OCA\Files_Trashbin\Trashbin::registerHooks(); |