summaryrefslogtreecommitdiffstats
path: root/tests/lib/utilcheckserver.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-12-18 11:19:53 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-12-18 11:19:53 +0100
commit90b0831cec88763038e241cc4816db204c045e69 (patch)
tree060da11646fe3d34db61b6b4be9d6d001bb9d090 /tests/lib/utilcheckserver.php
parent6a7dbf3cf24125bfac5089a4fae0a305591410de (diff)
downloadnextcloud-server-90b0831cec88763038e241cc4816db204c045e69.tar.gz
nextcloud-server-90b0831cec88763038e241cc4816db204c045e69.zip
Use TempManager instead of tmpFolder
Diffstat (limited to 'tests/lib/utilcheckserver.php')
-rw-r--r--tests/lib/utilcheckserver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/utilcheckserver.php b/tests/lib/utilcheckserver.php
index a5ec529ff85..64757d0acd9 100644
--- a/tests/lib/utilcheckserver.php
+++ b/tests/lib/utilcheckserver.php
@@ -37,7 +37,7 @@ class Test_Util_CheckServer extends \Test\TestCase {
protected function setUp() {
parent::setUp();
- $this->datadir = \OC_Helper::tmpFolder();
+ $this->datadir = \OC::$server->getTempManager()->getTemporaryFolder();
file_put_contents($this->datadir . '/.ocdata', '');
\OC::$server->getSession()->set('checkServer_succeeded', false);