summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-11-06 10:26:41 +0100
committerJoas Schilling <coding@schilljs.com>2020-11-06 10:33:59 +0100
commitda1c2bdfe661e75b8b5791c3aaada268ed9d3d70 (patch)
treebb67ae28bff3773b6ea25c5fbb58236172dc797a /tests
parent2c6bbe783a6ab0f75f9ad85d66d9b4511a7543be (diff)
downloadnextcloud-server-da1c2bdfe661e75b8b5791c3aaada268ed9d3d70.tar.gz
nextcloud-server-da1c2bdfe661e75b8b5791c3aaada268ed9d3d70.zip
Fix repair mimetype step to not leave stray cursors
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Repair/RepairMimeTypesTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Repair/RepairMimeTypesTest.php b/tests/lib/Repair/RepairMimeTypesTest.php
index 6f0791964b3..26a52459c24 100644
--- a/tests/lib/Repair/RepairMimeTypesTest.php
+++ b/tests/lib/Repair/RepairMimeTypesTest.php
@@ -50,7 +50,7 @@ class RepairMimeTypesTest extends \Test\TestCase {
$this->storage = new \OC\Files\Storage\Temporary([]);
- $this->repair = new \OC\Repair\RepairMimeTypes($config);
+ $this->repair = new \OC\Repair\RepairMimeTypes($config, \OC::$server->getDatabaseConnection());
}
protected function tearDown(): void {