summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-11-15 18:13:54 +0100
committerBart Visscher <bartv@thisnet.nl>2012-11-15 18:13:54 +0100
commit8bed38c78ddea18ed10a253d0838166d4342a171 (patch)
treebb3837789022c42155f43243c36eb24f71c9bb0d /tests
parent530f3f8be9336ec49eab9f00e2c3b15d29bc78c7 (diff)
downloadnextcloud-server-8bed38c78ddea18ed10a253d0838166d4342a171.tar.gz
nextcloud-server-8bed38c78ddea18ed10a253d0838166d4342a171.zip
Rename install hook functions to register hook
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/filesystem.php2
-rw-r--r--tests/lib/share/share.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/filesystem.php b/tests/lib/filesystem.php
index 7b856ef020c..5cced4946d9 100644
--- a/tests/lib/filesystem.php
+++ b/tests/lib/filesystem.php
@@ -74,7 +74,7 @@ class Test_Filesystem extends UnitTestCase {
public function testBlacklist() {
OC_Hook::clear('OC_Filesystem');
- OC::installFilesystemHooks();
+ OC::registerFilesystemHooks();
$run = true;
OC_Hook::emit(
diff --git a/tests/lib/share/share.php b/tests/lib/share/share.php
index 25656c6bcd5..92f5d065cf2 100644
--- a/tests/lib/share/share.php
+++ b/tests/lib/share/share.php
@@ -55,7 +55,7 @@ class Test_Share extends UnitTestCase {
OC_Group::addToGroup($this->user4, $this->group2);
OCP\Share::registerBackend('test', 'Test_Share_Backend');
OC_Hook::clear('OCP\\Share');
- OC::installShareHooks();
+ OC::registerShareHooks();
}
public function tearDown() {