summaryrefslogtreecommitdiffstats
path: root/tests/lib/StreamWrappersTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/StreamWrappersTest.php')
-rw-r--r--tests/lib/StreamWrappersTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/StreamWrappersTest.php b/tests/lib/StreamWrappersTest.php
index c0ecb5e738b..eb35fd54454 100644
--- a/tests/lib/StreamWrappersTest.php
+++ b/tests/lib/StreamWrappersTest.php
@@ -38,7 +38,7 @@ class StreamWrappersTest extends \Test\TestCase {
public static function tearDownAfterClass() {
if (self::$trashBinStatus) {
- \OC_App::enable('files_trashbin');
+ (new \OC_App())->enable('files_trashbin');
}
}