summaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/Cache/QuerySearchHelperTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Files/Cache/QuerySearchHelperTest.php')
-rw-r--r--tests/lib/Files/Cache/QuerySearchHelperTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Files/Cache/QuerySearchHelperTest.php b/tests/lib/Files/Cache/QuerySearchHelperTest.php
index 5a9d3022099..d5aad09a8fb 100644
--- a/tests/lib/Files/Cache/QuerySearchHelperTest.php
+++ b/tests/lib/Files/Cache/QuerySearchHelperTest.php
@@ -48,7 +48,7 @@ class QuerySearchHelperTest extends TestCase {
/** @var integer */
private $numericStorageId;
- public function setUp(): void {
+ protected function setUp(): void {
parent::setUp();
$this->builder = \OC::$server->getDatabaseConnection()->getQueryBuilder();
$this->mimetypeLoader = $this->createMock(IMimeTypeLoader::class);
@@ -83,7 +83,7 @@ class QuerySearchHelperTest extends TestCase {
->where($this->builder->expr()->eq('storage', new Literal($this->numericStorageId)));
}
- public function tearDown(): void {
+ protected function tearDown(): void {
parent::tearDown();
$builder = \OC::$server->getDatabaseConnection()->getQueryBuilder();