summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/tests
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-12-12 18:27:50 +0100
committerLouis (Rebase PR Action) <artonge@users.noreply.github.com>2023-01-26 10:12:23 +0000
commit53d736207c87485763f5cbfd04a4ea3067b6606d (patch)
tree55027bdce4f1d1307b3fc52ad961eaa45fe3737f /apps/files_versions/tests
parent2ce4ac4aa4495712692a8c7e02318c8735f8465f (diff)
downloadnextcloud-server-53d736207c87485763f5cbfd04a4ea3067b6606d.tar.gz
nextcloud-server-53d736207c87485763f5cbfd04a4ea3067b6606d.zip
Adapt files_versions tests to modernized hooks
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/files_versions/tests')
-rw-r--r--apps/files_versions/tests/StorageTest.php2
-rw-r--r--apps/files_versions/tests/VersioningTest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_versions/tests/StorageTest.php b/apps/files_versions/tests/StorageTest.php
index d16b9ecdfd8..ef599a3e479 100644
--- a/apps/files_versions/tests/StorageTest.php
+++ b/apps/files_versions/tests/StorageTest.php
@@ -51,7 +51,7 @@ class StorageTest extends TestCase {
});
$this->overwriteService(Expiration::class, $expiration);
- Hooks::connectHooks();
+ // Hooks::connectHooks();
$this->createUser('version_test', '');
$this->loginAsUser('version_test');
diff --git a/apps/files_versions/tests/VersioningTest.php b/apps/files_versions/tests/VersioningTest.php
index b8f58ecff2b..15173dac902 100644
--- a/apps/files_versions/tests/VersioningTest.php
+++ b/apps/files_versions/tests/VersioningTest.php
@@ -100,7 +100,7 @@ class VersioningTest extends \Test\TestCase {
// clear hooks
\OC_Hook::clear();
\OC::registerShareHooks(\OC::$server->getSystemConfig());
- \OCA\Files_Versions\Hooks::connectHooks();
+ // \OCA\Files_Versions\Hooks::connectHooks();
self::loginHelper(self::TEST_VERSIONS_USER);
$this->rootView = new \OC\Files\View();