aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Archive/ZIPTest.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-03-19 10:52:35 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-03-19 10:52:35 +0100
commit47a300814186061991821f8a707c63a3de636b6d (patch)
tree8db21adb6842f60faab6505422566896228aeff9 /tests/lib/Archive/ZIPTest.php
parent63bc633d89e53c2ff04d3fd521a2a1b18f6737f7 (diff)
downloadnextcloud-server-47a300814186061991821f8a707c63a3de636b6d.tar.gz
nextcloud-server-47a300814186061991821f8a707c63a3de636b6d.zip
Remove \OCP\Files::tmpFile
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/lib/Archive/ZIPTest.php')
-rw-r--r--tests/lib/Archive/ZIPTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Archive/ZIPTest.php b/tests/lib/Archive/ZIPTest.php
index ff0155f3d01..573339e5a19 100644
--- a/tests/lib/Archive/ZIPTest.php
+++ b/tests/lib/Archive/ZIPTest.php
@@ -18,6 +18,6 @@ class ZIPTest extends TestBase {
}
protected function getNew() {
- return new ZIP(\OCP\Files::tmpFile('.zip'));
+ return new ZIP(\OC::$server->getTempManager()->getTemporaryFile('.zip'));
}
}